From 1fdf5749a5f7a9709702edd356ffbd340056ab30 Mon Sep 17 00:00:00 2001 From: skeeter Date: Fri, 7 Sep 2001 17:11:51 +0000 Subject: [PATCH] Forgot to unserialize the keys for non-mcrypt users. --- 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 ef457ba014..15dbc354d6 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($part[$key]); + $part[$key] = GLOBALS['phpgw']->crypto->bin2hex(unserialize($part[$key])); } } $event['uid'] = $part[0].'-'.$part[1].'@'.$id_suffix;