Fix magic functions
git-svn-id: http://php-reader.googlecode.com/svn/trunk@251 51a70ab9-7547-0410-9469-37e369ee0574
This commit is contained in:
@@ -69,7 +69,7 @@ final class Zend_Media_Flac_MetadataBlock_VorbisComment extends Zend_Media_Flac_
|
||||
public function __call($name, $arguments)
|
||||
{
|
||||
if (method_exists($this, $name)) {
|
||||
return $this->$name($arguments);
|
||||
return call_user_func(array($this, $name), $arguments);
|
||||
}
|
||||
try {
|
||||
return $this->_impl->$name($arguments);
|
||||
|
||||
Reference in New Issue
Block a user