Warning: Invalid argument supplied for foreach()
Not sure why I'm getting it here, but not here.
suggestions?
- Code: Select all
foreach($attribs as $key => $value) {
if($value != null) {
$params->set($key, $value);
}
}
foreach($attribs as $key => $value) {
if($value != null) {
$params->set($key, $value);
}
}