From 72dac7bddab9fd75f3c2618a8cd6a4fb13d11b4c Mon Sep 17 00:00:00 2001 From: Devops Date: Mon, 15 May 2017 00:43:11 +0100 Subject: [PATCH] www/dbq/dbq.php --- www/dbq/dbq.php | 1 + 1 file changed, 1 insertion(+) 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); -- 2.47.3