Check to make sure rows is set before trying to unset a sub-index

This commit is contained in:
Nathan Gray 2010-12-20 22:27:33 +00:00
parent af918a2945
commit bb01196183

View File

@ -540,7 +540,7 @@ class infolog_ui
}
$values['msg'] = $msg;
}
unset($values['nm']['rows']['checked']); // Can cause problems lower, no longer needed
if(isset($values['nm']['rows'])) unset($values['nm']['rows']['checked']); // Can cause problems lower, no longer needed
if (!$action)
{
$action = $values['action'] ? $values['action'] : get_var('action',array('POST','GET'));