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,7 +93,8 @@
|
||||||
$lines = explode("\n", $rawData);
|
$lines = explode("\n", $rawData);
|
||||||
$data = array();
|
$data = array();
|
||||||
for ($i = 0; $i < count($lines); $i++)
|
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;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
Peter Chen
|
Peter Chen
|
||||||
Richard Stallman
|
Richard Stallman
|
||||||
Konrad Zuse
|
Konrad Zuse
|
||||||
|
John von Neuman
|
||||||
|
|
Loading…
Reference in a new issue