PHP errors in restext.php and using incorrect variable
Brought to you by:
greg_k,
mjbrenegan
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);