forked from extern/egroupware
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)
|
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)
|
if ($return_maximum)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user