BUGFIX: Add newline for every entry
This commit is contained in:
parent
1b544280d9
commit
147d33d299
|
@ -35,7 +35,7 @@ class MediaDB
|
|||
|
||||
$line = $item->getHash() . ' ' . implode(' ', $item->getTags());
|
||||
|
||||
if (fwrite($file, $line) == false)
|
||||
if (fwrite($file, $line . "\n") == false)
|
||||
Json::error('Write operation failed on Item adding')->die();
|
||||
|
||||
fclose($file);
|
||||
|
|
Loading…
Reference in New Issue