mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
Fix account manage redirect
This commit is contained in:
parent
da77ec20ef
commit
a9fb5dffa3
@ -18,6 +18,16 @@ if(!$logged) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(isset($_REQUEST['redirect']))
|
||||||
|
{
|
||||||
|
$redirect = urldecode($_REQUEST['redirect']);
|
||||||
|
|
||||||
|
$twig->display('account.redirect.html.twig', array(
|
||||||
|
'redirect' => $redirect
|
||||||
|
));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$groups = new OTS_Groups_List();
|
$groups = new OTS_Groups_List();
|
||||||
|
|
||||||
$freePremium = isset($config['lua']['freePremium']) && getBoolean($config['lua']['freePremium']) || $account_logged->getPremDays() == OTS_Account::GRATIS_PREMIUM_DAYS;
|
$freePremium = isset($config['lua']['freePremium']) && getBoolean($config['lua']['freePremium']) || $account_logged->getPremDays() == OTS_Account::GRATIS_PREMIUM_DAYS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user