Can edit style if admin even if demo

This commit is contained in:
Laurent Destailleur 2011-08-31 22:33:36 +00:00
parent c314ac5c4a
commit b0b0f154da

View File

@ -185,8 +185,9 @@ if ($_GET["action"] == 'edit')
print '</table><br>';
// Theme
show_theme($fuser,(($user->admin || empty($dolibarr_main_demo))?1:0),true);
show_theme($fuser,empty($dolibarr_main_demo)?1:0,true);
print '</div>';