Skip to content
Snippets Groups Projects
Commit 3c19b911 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Restore broken feature

parent b429df9d
No related branches found
No related tags found
No related merge requests found
......@@ -1078,9 +1078,9 @@ else
{
if ($object->statut > 0 && $action != 'activateline' && $action != 'unactivateline')
{
$action='activateline';
if ($objp->statut == 4) $action='unactivateline';
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&amp;ligne='.$object->lines[$cursorline-1]->id.'&amp;action='.$action.'">';
$tmpaction='activateline';
if ($objp->statut == 4) $tmpaction='unactivateline';
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&amp;ligne='.$object->lines[$cursorline-1]->id.'&amp;action='.$tmpaction.'">';
print img_edit();
print '</a>';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment