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