Menu

#164 PHP errors in restext.php and using incorrect variable

v0.80
open
nobody
5
2009-05-22
2009-05-22
sophomERIC
No

diff restext.php /usr/local/src/inprotect-0.80.2/console/html/restext.php
101c101
< if (!($uroles['admin'] || $uroles['reports'])) {
---
> if (!($uroles[admin] || $uroles[reports])) {
195c195
< $query .= " and h.status NOT IN ('" . implode("','",$nostatus) . "') ";
---
> $query .= " and h.status NOT IN ('" . implode("','",$nostatusArray) . "') ";
241c241
< $query .= " and h.status NOT IN ('" . implode("','",$nostatus) . "') ";
---
> $query .= " and h.status NOT IN ('" . implode("','",$nostatusArray) . "') ";
318c318
< $nst = implode(" or ", $nostatus);
---
> $nst = implode(" or ", $nostatusArray);

Discussion


Log in to post a comment.

MongoDB Logo MongoDB