Skip to content

Commit

Permalink
fix php warning
Browse files Browse the repository at this point in the history
occurs when checking html encoding via CLI
  • Loading branch information
btry authored and cedric-anne committed May 22, 2023
1 parent c55558d commit aa15da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SavedSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public function post_getEmpty()
$this->fields["users_id"] = Session::getLoginUserID();
$this->fields["is_private"] = 1;
$this->fields["is_recursive"] = 1;
$this->fields["entities_id"] = $_SESSION["glpiactive_entity"];
$this->fields["entities_id"] = Session::getActiveEntity();
}


Expand Down

0 comments on commit aa15da3

Please sign in to comment.