mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
Fix wiki links did not load properly after login if your session was expired
This commit is contained in:
parent
f20b101dbe
commit
670b74cf23
@ -865,8 +865,8 @@ abstract class Ajax extends Api\Framework
|
||||
else if (strpos($url, 'menuaction') > 0)
|
||||
{
|
||||
// Coming in with a specific URL, save it and redirect to index.php
|
||||
// so reloads work nicely
|
||||
$last_direct_url = $url;
|
||||
// so reloads work nicely, but strip cd=yes or we'll get the framework again
|
||||
$last_direct_url = preg_replace('/[&?]cd=yes/','',$url);
|
||||
Api\Framework::redirect_link('/index.php?cd=yes');
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user