From c89a55fb107ecc18f35397d394db5a7fac36956a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 2 Oct 2007 12:01:35 +0000 Subject: [PATCH] "fix for bug #1245: Export ical dont work: Call to undefined function is_nummeric()" --- calendar/inc/class.boical.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.boical.inc.php b/calendar/inc/class.boical.inc.php index b00002c0bf..e3257c9c24 100644 --- a/calendar/inc/class.boical.inc.php +++ b/calendar/inc/class.boical.inc.php @@ -200,7 +200,7 @@ // PARTSTAT={NEEDS-ACTION|ACCEPTED|DECLINED|TENTATIVE|DELEGATED|COMPLETED|IN-PROGRESS} everything from delegated is NOT used by eGW atm. $status = $this->status_egw2ical[$status]; // CUTYPE={INDIVIDUAL|GROUP|RESOURCE|ROOM|UNKNOWN} - switch (is_nummeric($uid) ? $GLOBALS['egw']->accounts->get_type($uid) : $uid{0}) + switch (is_numeric($uid) ? $GLOBALS['egw']->accounts->get_type($uid) : $uid{0}) { case 'g': $cutype = 'GROUP';