Commit 6993ad92 authored by Cédric Anne's avatar Cédric Anne Committed by Johan Cwiklinski

Fix sending of saved search notification to owner; fixes #5835

parent c4b28837
......@@ -339,6 +339,7 @@ class SavedSearch_Alert extends CommonDBChild {
$auth->user = $user;
$auth->auth_succeded = true;
Session::init($auth);
$_SESSION['glpinotification_to_myself'] = true; // Force sending of notification
$cli_logged = $savedsearch->fields['users_id'];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment