-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I was trying to create a user that would only see alerts from certain hostnames, however, no matter was was typed into the hostnames areas, the resultant was the word "hostnames" and no alerts where shown when user logged in.
I found that changing line 92 of item-submit.php to
$hostnames[] = str_replace("hostnames-", "", $_POST[$k]);
instead of
$hostnames[] = str_replace("hostnames-", "", $k);
populated the hostnames correctly and the filter now works.
Metadata
Metadata
Assignees
Labels
No labels