From adce88c4d196b13a6ae57f83ef4c0a23b5d017ab Mon Sep 17 00:00:00 2001 From: FHenry Date: Thu, 12 Apr 2012 11:02:11 +0200 Subject: [PATCH] correct bug #360 --- htdocs/admin/project.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/project.php b/htdocs/admin/project.php index 520bf2cb286..b50c14918c6 100644 --- a/htdocs/admin/project.php +++ b/htdocs/admin/project.php @@ -222,13 +222,13 @@ foreach ($dirmodels as $reldir) print ''."\n"; print ''; - if ($conf->global->PROJECT_ADDON == $classname) + if ($conf->global->PROJECT_ADDON == 'mod_'.$classname) { print img_picto($langs->trans("Activated"),'switch_on'); } else { - print ''.img_picto($langs->trans("Disabled"),'switch_off').''; + print ''.img_picto($langs->trans("Disabled"),'switch_off').''; } print '';