diff --git a/src/ID3v2.php b/src/ID3v2.php index 1af6e54..13828d6 100644 --- a/src/ID3v2.php +++ b/src/ID3v2.php @@ -363,7 +363,7 @@ final class ID3v2 } } fseek($fd, 0); - fwrite($fd, $tag, $tagLength); + fwrite($fd, $tag, $tagSize); fclose($fd); $this->_filename = $filename;