mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 22:08:45 +01:00
always return an array, if an array is given as argument
This commit is contained in:
parent
67b243c377
commit
f36655555f
@ -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