cleaned up ACL expansion to remove unwanted '0' elements
This commit is contained in:
parent
34eedb503a
commit
84d2ad8ebf
3 changed files with 12 additions and 8 deletions
|
@ -8,7 +8,7 @@ function notifications_post(&$a) {
|
|||
|
||||
$request_id = (($a->argc > 1) ? $a->argv[1] : 0);
|
||||
|
||||
if($request_id == "all")
|
||||
if($request_id === "all")
|
||||
return;
|
||||
|
||||
if($request_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue