Fixed the unknown call to crypto->bin2hex(). binx2hex is a php call.

This commit is contained in:
skeeter 2001-09-07 17:17:41 +00:00
parent bbb07938f5
commit c490e68b79

View File

@ -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;