Skip to content

Commit

Permalink
Revert "Evarisk#1002 [PreventionPlan] add: check limit managers to di…
Browse files Browse the repository at this point in the history
…splay input fields"

This reverts commit 36deb0d.
  • Loading branch information
evarisk-francois committed Jul 1, 2024
1 parent 36deb0d commit a79f2a1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions core/tpl/attendants/attendants_table_view.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,16 +185,12 @@
}
print '</td>';
print '</tr>';
$alreadyAddedSignatories[$element->element_type][$element->element_id] = $elementmod->element_id;
$alreadyAddedSignatories[$element->element_type][$element->element_id] = $element->element_id;
}

if ($object->limit_managers == 0) {
require __DIR__ . '/attendants_table_add_view.tpl.php';
}
require __DIR__ . '/attendants_table_add_view.tpl.php';
} else {
print '<div class="opacitymedium">' . $langs->trans('NoAttendants') . '</div><br>';

if ($object->limit_managers == 0) {
require __DIR__ . '/attendants_table_add_view.tpl.php';
}
require __DIR__ . '/attendants_table_add_view.tpl.php';
}

0 comments on commit a79f2a1

Please sign in to comment.