[dev] PHP Warning in prefs

Duck duck at obala.net
Wed Dec 6 11:30:18 PST 2006


PHP Warning:  Invalid argument supplied for foreach() 
in /usr/lib/php/Horde/Prefs.php on line 717

Adding another conditon in the IF above solves it.

if (empty($this->_hooks[$scope]) || !is_array($this->_hooks[$scope])) {
     return;
}

Duck


More information about the dev mailing list