"fixed bug reported by Philip Herbert from Knauber: error when killing a session"

This commit is contained in:
Ralf Becker 2008-08-20 14:55:53 +00:00
parent 5b18045927
commit 0f2b4d7914

View File

@ -127,6 +127,7 @@ class egw_session_files
if(!$all_no_sort)
{
if(!$order) $order = 'session_dla';
uasort($values,create_function('$a,$b','return '.(!strcasecmp($sort,'ASC') ? '' : '-').'strcasecmp($a['.$order.'],$b['.$order.']);'));
return array_slice($values,(int)$start,$maxmatchs);
}