Fix issue 65

git-svn-id: http://php-reader.googlecode.com/svn/trunk@255 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
svollbehr
2012-01-21 19:46:18 +00:00
parent 3354d7c0cf
commit 7ad54f1699
4 changed files with 13 additions and 10 deletions

View File

@@ -65,7 +65,7 @@ final class Zend_Media_Id3_Frame_Comm extends Zend_Media_Id3_LanguageTextFrame
$encoding = $this->_reader->readUInt8();
$this->_language = strtolower($this->_reader->read(3));
if ($this->_language == 'xxx') {
if ($this->_language == 'xxx' || trim($this->_language, "\0") == '') {
$this->_language = 'und';
}