mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
As we replace spaces with + for those account ids which contain spaces, therefore we need to do the same for getting request-id too.
This commit is contained in:
parent
6907661402
commit
40aa20eaa2
@ -114,7 +114,9 @@ class etemplate_request_cache extends etemplate_request
|
||||
*/
|
||||
static function request_id()
|
||||
{
|
||||
return uniqid($GLOBALS['egw_info']['flags']['currentapp'].'_'.$GLOBALS['egw_info']['user']['account_lid'].'_',true);
|
||||
// As we replace spaces with + for those account ids which contain spaces, therefore we need to do the same for getting request id too.
|
||||
$userID = str_replace(' ', '+', rawurldecode($GLOBALS['egw_info']['user']['account_lid']));
|
||||
return uniqid($GLOBALS['egw_info']['flags']['currentapp'].'_'.$userID.'_',true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user