mirror of
https://github.com/fsr/eseeva
synced 2024-11-15 08:53:11 +01:00
the patrons file now supports line breaks at its end
This commit is contained in:
parent
2bda00f9fb
commit
98cb4d750f
|
@ -93,6 +93,7 @@
|
|||
$lines = explode("\n", $rawData);
|
||||
$data = array();
|
||||
for ($i = 0; $i < count($lines); $i++)
|
||||
if(trim($lines[$i]) != "")
|
||||
$data[trim($lines[$i])] = trim($lines[$i]);
|
||||
|
||||
return $data;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
Peter Chen
|
||||
Richard Stallman
|
||||
Konrad Zuse
|
||||
John von Neuman
|
||||
|
|
Loading…
Reference in a new issue