If you go to the above URL, an error is printed about an invalid foreach in action.module line 190. I noted the params column in my actions table is empty, hence the foreach in question is getting an empty string. Accordingly, I made the following change, and the error went away.
***************
*** 187,194 ****
$function = $data->func;
$edit['action'] = md5($data->func);
$params = unserialize($data->params);
! foreach ($params as $name => $val) {
! $edit[$name] = $val;
}
}
else {
--- 187,196 ----
$function = $data->func;
$edit['action'] = md5($data->func);
$params = unserialize($data->params);
! if ($params) {
! foreach ($params as $name => $val) {
! $edit[$name] = $val;
! }
}
}
else {
Comments
Comment #1
jvandyk commentedFixed. Thanks.
Comment #2
(not verified) commented