E_ALL notice

This commit is contained in:
Ralf Becker 2007-12-09 22:54:26 +00:00
parent 3a6b8ce799
commit 1a743d658d

View File

@ -179,7 +179,7 @@
if ($data['func'] == 'pear_check' || in_array($data['func'],array('extension_check','php_ini_check')) && !isset($data['warning']))
{
if ($checks[$name]['from'] && !is_array($checks[$name]['from']))
if (isset($checks[$name]['from']) && $checks[$name]['from'] && !is_array($checks[$name]['from']))
{
$checks[$name]['from'] = array($checks[$name]['from']);
}