#29 Fix invalid short_description for empty short_description

This commit is contained in:
wapmorgan 2023-05-28 21:35:44 +03:00
parent a28101d523
commit f4e3b0d606

View File

@ -687,7 +687,7 @@ class Mp3Info {
$raw = fread($fp, 4);
$data = unpack('C1encoding/A3language', $raw);
// read until \null character
$short_description = null;
$short_description = '';
$last_null = false;
$actual_text = false;
while (ftell($fp) < $dataEnd) {