mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 09:58:16 +01:00
Forgot to unserialize the keys for non-mcrypt users.
This commit is contained in:
parent
ac273893f0
commit
1fdf5749a5
@ -396,7 +396,7 @@ class socalendar_ extends socalendar__
|
|||||||
$part[$key] = substr($GLOBALS['phpgw']->crypto->encrypt($event[$field]),0,20);
|
$part[$key] = substr($GLOBALS['phpgw']->crypto->encrypt($event[$field]),0,20);
|
||||||
if(!$GLOBALS['phpgw']->crypto->enabled)
|
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;
|
$event['uid'] = $part[0].'-'.$part[1].'@'.$id_suffix;
|
||||||
|
Loading…
Reference in New Issue
Block a user