mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Fix missing types in admin queue and history
This commit is contained in:
parent
231946ae58
commit
05ce70f1a8
@ -587,7 +587,10 @@ abstract class admin_cmd
|
|||||||
}
|
}
|
||||||
foreach($labels as $class => &$label)
|
foreach($labels as $class => &$label)
|
||||||
{
|
{
|
||||||
$label = $class::name();
|
if(class_exists($class))
|
||||||
|
{
|
||||||
|
$label = $class::name();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// sort them alphabetic
|
// sort them alphabetic
|
||||||
|
@ -1643,6 +1643,7 @@ class Base
|
|||||||
}
|
}
|
||||||
if (!$order) $order = current($cols);
|
if (!$order) $order = current($cols);
|
||||||
|
|
||||||
|
$this->search_return_iterator = true;
|
||||||
if (($search =& $this->search(array(),($key_col ? $key_col.',' : 'DISTINCT ').implode(',',$value_col),$order,'','',false,'AND',false,$filter)))
|
if (($search =& $this->search(array(),($key_col ? $key_col.',' : 'DISTINCT ').implode(',',$value_col),$order,'','',false,'AND',false,$filter)))
|
||||||
{
|
{
|
||||||
if (preg_match('/AS ([a-z_0-9]+)$/i',$key_col,$matches))
|
if (preg_match('/AS ([a-z_0-9]+)$/i',$key_col,$matches))
|
||||||
@ -1670,6 +1671,7 @@ class Base
|
|||||||
if ($data) $ret[$row[$key_col]] = $data;
|
if ($data) $ret[$row[$key_col]] = $data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$this->search_return_iterator = false;
|
||||||
return $cache[$cache_key] =& $ret;
|
return $cache[$cache_key] =& $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user