forked from Wavyzz/dolibarr
Can edit style if admin even if demo
This commit is contained in:
@@ -185,9 +185,8 @@ if ($_GET["action"] == 'edit')
|
||||
|
||||
print '</table><br>';
|
||||
|
||||
|
||||
// Theme
|
||||
show_theme($fuser,empty($dolibarr_main_demo)?1:0,true);
|
||||
show_theme($fuser,(($user->admin || empty($dolibarr_main_demo))?1:0),true);
|
||||
|
||||
print '</div>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user