BUGFIX: Add newline for every entry

This commit is contained in:
Dendy 2023-07-10 14:14:56 +02:00
parent 1b544280d9
commit 147d33d299
1 changed files with 1 additions and 1 deletions

View File

@ -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);