From c490e68b79f24b37ae55f8b7fc4ae24f6d76e5c7 Mon Sep 17 00:00:00 2001 From: skeeter Date: Fri, 7 Sep 2001 17:17:41 +0000 Subject: [PATCH] Fixed the unknown call to crypto->bin2hex(). binx2hex is a php call. --- calendar/inc/class.socalendar_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;