From f4e3b0d606732f667729c116e1baa4f845a65f9d Mon Sep 17 00:00:00 2001 From: wapmorgan Date: Sun, 28 May 2023 21:35:44 +0300 Subject: [PATCH] #29 Fix invalid short_description for empty short_description --- src/Mp3Info.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mp3Info.php b/src/Mp3Info.php index 79f7c07..257b147 100644 --- a/src/Mp3Info.php +++ b/src/Mp3Info.php @@ -687,7 +687,7 @@ protected function parseId3v23Body($fp, $lastByte) { $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) {