strstr -> strpos fix by thomas koch

This commit is contained in:
Cornelius Weiß 2006-12-07 12:47:11 +00:00
parent 4338f6726b
commit 76ebb5167f

View File

@ -568,7 +568,7 @@ class soinfolog // DB-Layer
'event' => 'calendar'
);
$action = isset($action2app[$query['action']]) ? $action2app[$query['action']] : $query['action'];
$action_id = @strstr($query['action_id'],',') ? explode(',',$query['action_id']) : $query['action_id'];
$action_id = ( strpos($query['action_id'],',')!==false) ? explode(',',$query['action_id']) : $query['action_id'];
if ($action != '')
{