mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 04:31:06 +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
f678f0b924
commit
67aa23f11b
@ -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