diff options
Diffstat (limited to 'modules/id3/getid3/write.php')
-rw-r--r-- | modules/id3/getid3/write.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/id3/getid3/write.php b/modules/id3/getid3/write.php index db09decd..e9dbf160 100644 --- a/modules/id3/getid3/write.php +++ b/modules/id3/getid3/write.php @@ -83,6 +83,7 @@ class getid3_writetags return false; } + $TagFormatsToRemove = array(); if (filesize($this->filename) == 0) { // empty file special case - allow any tag format, don't check existing format @@ -150,7 +151,6 @@ class getid3_writetags } // List of other tag formats, removed if requested - $TagFormatsToRemove = array(); if ($this->remove_other_tags) { foreach ($AllowedTagFormats as $AllowedTagFormat) { switch ($AllowedTagFormat) { |