Can edit style if admin even if demo

This commit is contained in:
Laurent Destailleur 2011-08-31 22:33:37 +00:00
parent 5f9c4955f4
commit 8b78e89017

View File

@ -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>';