From 867f5d650d3c6f4339d1056749595a180a39f243 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 13 Oct 2009 08:58:54 +0000 Subject: [PATCH] default params for calendar_so::combine_status(,=1,='REQ-PARTICIPANT') --- calendar/inc/class.calendar_so.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index 32ffb697f9..6eb5375845 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -861,11 +861,11 @@ ORDER BY cal_user_type, cal_usre_id * Combine status, quantity and role into one value * * @param string $status - * @param int $quantity - * @param string $role + * @param int $quantity=1 + * @param string $role='REQ-PARTICIPANT' * @return string */ - static function combine_status($status,$quantity,$role) + static function combine_status($status,$quantity=1,$role='REQ-PARTICIPANT') { if ((int)$quantity > 1) $status .= (int)$quantity; if ($role != 'REQ-PARTICIPANT') $status .= $role;