mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:30 +02:00
Fix editable link opened by original user in new tab gave "Requested resource '/' does NOT exist!"
This commit is contained in:
parent
7e4ccc8311
commit
a8278b37ff
@ -507,7 +507,7 @@ class Sharing
|
|||||||
public function ServeRequest()
|
public function ServeRequest()
|
||||||
{
|
{
|
||||||
// sharing is for a different share, change to current share
|
// sharing is for a different share, change to current share
|
||||||
if (empty($this->share['skip_validate_token']) && $this->share['share_token'] !== self::get_token())
|
if (empty($this->share['skip_validate_token']) && self::get_token() && $this->share['share_token'] !== self::get_token())
|
||||||
{
|
{
|
||||||
// to keep the session we require the regular user flag "N" AND a user-name not equal to "anonymous"
|
// to keep the session we require the regular user flag "N" AND a user-name not equal to "anonymous"
|
||||||
self::create_session($GLOBALS['egw']->session->session_flags === 'N' &&
|
self::create_session($GLOBALS['egw']->session->session_flags === 'N' &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user