E_ALL notice

This commit is contained in:
Ralf Becker 2007-12-09 22:55:39 +00:00
parent bb1d8575d8
commit 2bbebf7a0f

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 ($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']); $checks[$name]['from'] = array($checks[$name]['from']);
} }