Fix 'Whole query' list actions

This commit is contained in:
Nathan Gray 2012-10-22 19:44:04 +00:00
parent 2bf57629fa
commit 6dbc821ec6

View File

@ -562,6 +562,10 @@ class calendar_uilist extends calendar_ui
foreach($checked as $id)
{
$recur_date = $app = $app_id = null;
if(is_array($id) && $id['id'])
{
$id = $id['id'];
}
if(!(int)$id && preg_match('/^([a-z_-]+)([0-9]+)$/i',$id,$matches))
{
$app = $matches[1];