error reporting
authorAlan <alan@roojs.com>
Thu, 21 Sep 2023 08:28:59 +0000 (16:28 +0800)
committerAlan <alan@roojs.com>
Thu, 21 Sep 2023 08:28:59 +0000 (16:28 +0800)
Pman/Roo.php

index 136d4bf..748ac0c 100644 (file)
@@ -255,7 +255,7 @@ class Pman_Roo extends Pman
         $this->setFilters($x,$_REQUEST);
         
         if (!$this->checkPerm($x,'S', $_REQUEST))  {
-            $this->jerr("PERMISSION DENIED (g)");
+            $this->jerror("NOTICE-NOPERM", "PERMISSION DENIED (g)");
         }
         
          //print_r($x);