mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
always return an array, if an array is given as argument
This commit is contained in:
parent
471f471ee9
commit
4703ccbcb3
@ -294,7 +294,7 @@ class calendar_so
|
||||
*/
|
||||
function max_user_modified($ids, $return_maximum=false)
|
||||
{
|
||||
if (!is_array($ids) || count($ids) == 1) $return_maximum = true;
|
||||
if (!is_array($ids)) $return_maximum = true;
|
||||
|
||||
if ($return_maximum)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user