Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -494,13 +494,18 @@ class _Admin extends \IPS\Dispatcher\Standard
|
||||
{
|
||||
return $this->acpTabOrder;
|
||||
}
|
||||
|
||||
if ( isset( \IPS\Request::i()->cookie['acpTabs'] ) )
|
||||
|
||||
if ( isset( \IPS\Request::i()->cookie['acpTabs'] ) AND !\IPS\Settings::i()->acp_menu_cookie_rebuild )
|
||||
{
|
||||
$this->acpTabOrder = json_decode( \IPS\Request::i()->cookie['acpTabs'], TRUE );
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( \IPS\Settings::i()->acp_menu_cookie_rebuild )
|
||||
{
|
||||
\IPS\Settings::i()->changeValues( array( 'acp_menu_cookie_rebuild' => 0 ) );
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
$this->acpTabOrder = json_decode( \IPS\Db::i()->select( 'data', 'core_acp_tab_order', array( 'id=?', \IPS\Member::loggedIn()->member_id ) )->first(), TRUE );
|
||||
|
||||
Reference in new issue
Block a user