Skip to content

Commit

Permalink
fix(planning): All users of a group restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
Rom1-B authored and trasher committed Oct 10, 2023
1 parent a66e8dd commit 283c634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Planning.php
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ public static function showAddGroupUsersForm()
{
echo Group::getTypeName(1) . " : <br>";

$condition = ['is_task' => 1];
$condition = [];
// filter groups
if (!Session::haveRight('planning', self::READALL)) {
$condition['id'] = $_SESSION['glpigroups'];
Expand Down

0 comments on commit 283c634

Please sign in to comment.