From: Devops Date: Sun, 14 May 2017 23:43:11 +0000 (+0100) Subject: www/dbq/dbq.php X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=72dac7bddab9fd75f3c2618a8cd6a4fb13d11b4c;p=nb.git www/dbq/dbq.php --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index b01a5414..c514e4d5 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -104,6 +104,7 @@ class DbQ extends nb { if (isset($this->perms[$perm])) { $this->perm = $this->perms[$perm]; } + if (!preg_match('/^[0-9]+$/',$perm)) $perm = 0; parent::__construct($opt);