3
0
Fork 0
mirror of https://github.com/fsr/eseeva synced 2024-11-15 00:43:12 +01:00

the patrons file now supports line breaks at its end

This commit is contained in:
Lucas Woltmann 2014-07-22 12:07:17 +02:00
parent 2bda00f9fb
commit 98cb4d750f
2 changed files with 4 additions and 2 deletions

View file

@ -93,7 +93,8 @@
$lines = explode("\n", $rawData);
$data = array();
for ($i = 0; $i < count($lines); $i++)
$data[trim($lines[$i])] = trim($lines[$i]);
if(trim($lines[$i]) != "")
$data[trim($lines[$i])] = trim($lines[$i]);
return $data;
}

View file

@ -1,3 +1,4 @@
Peter Chen
Richard Stallman
Konrad Zuse
Konrad Zuse
John von Neuman