Permalink
Browse files

correct bug #360

  • Loading branch information...
1 parent 153cdb5 commit adce88c4d196b13a6ae57f83ef4c0a23b5d017ab @FHenry committed Apr 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 htdocs/admin/project.php
@@ -222,13 +222,13 @@
print '</td>'."\n";
print '<td align="center">';
- if ($conf->global->PROJECT_ADDON == $classname)
+ if ($conf->global->PROJECT_ADDON == 'mod_'.$classname)
{
print img_picto($langs->trans("Activated"),'switch_on');
}
else
{
- print '<a href="'.$_SERVER["PHP_SELF"].'?action=setmod&amp;value='.$classname.'" alt="'.$langs->trans("Default").'">'.img_picto($langs->trans("Disabled"),'switch_off').'</a>';
+ print '<a href="'.$_SERVER["PHP_SELF"].'?action=setmod&amp;value=mod_'.$classname.'" alt="'.$langs->trans("Default").'">'.img_picto($langs->trans("Disabled"),'switch_off').'</a>';
}
print '</td>';

0 comments on commit adce88c

Please sign in to comment.