ZF-1461: Deprecated method Zend_Config::toArray() still in use
Description
In {{Zend_Config.php}},
please update the code of method {{Zend_Config::asArray()}} to no use deprecated method {{toArray()}} anymore (line 158 ZFRC1).
public function toArray()
{
$array = array();
foreach ($this->_data as $key => $value) {
if (is_object($value)) {
$array[$key] = $value->asArray(); <----- must be $array[$key] = $value->toArray();
} else {
$array[$key] = $value;
}
}
return $array;
}
Comments
Posted by Rob Allen (rob) on 2007-05-30T15:00:16.000+0000
Resolved in SVN 5062