From 4703ccbcb3c2ece7ce6981549a2d13c643c37818 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 10 Nov 2011 06:40:55 +0000 Subject: [PATCH] always return an array, if an array is given as argument --- calendar/inc/class.calendar_so.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index 55773ce34a..32bf1189aa 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -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) {