diff --git a/calendar/inc/class.socalendar_sql.inc.php b/calendar/inc/class.socalendar_sql.inc.php index 15dbc354d6..6c5be6fe43 100755 --- a/calendar/inc/class.socalendar_sql.inc.php +++ b/calendar/inc/class.socalendar_sql.inc.php @@ -396,7 +396,7 @@ class socalendar_ extends socalendar__ $part[$key] = substr($GLOBALS['phpgw']->crypto->encrypt($event[$field]),0,20); if(!$GLOBALS['phpgw']->crypto->enabled) { - $part[$key] = GLOBALS['phpgw']->crypto->bin2hex(unserialize($part[$key])); + $part[$key] = bin2hex(unserialize($part[$key])); } } $event['uid'] = $part[0].'-'.$part[1].'@'.$id_suffix;