mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Bugfix - user-theme setting was interfering with admin -> menu. Fixed.
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
* General purpose file
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/class2.php,v $
|
||||
* $Revision: 1.96 $
|
||||
* $Date: 2009-07-04 13:36:14 $
|
||||
* $Revision: 1.97 $
|
||||
* $Date: 2009-07-05 11:25:10 $
|
||||
* $Author: e107coders $
|
||||
*
|
||||
*/
|
||||
@@ -992,7 +992,7 @@ if(!defined('THEME'))
|
||||
} */
|
||||
checkvalidtheme($pref['admintheme']);
|
||||
}
|
||||
elseif (USERTHEME !== false && USERTHEME != 'USERTHEME')
|
||||
elseif (USERTHEME !== false && USERTHEME != 'USERTHEME' && !$inAdminDir)
|
||||
{
|
||||
checkvalidtheme(USERTHEME);
|
||||
}
|
||||
|
Reference in New Issue
Block a user