error reporting
authorAlan <alan@roojs.com>
Tue, 19 Sep 2023 07:52:04 +0000 (15:52 +0800)
committerAlan <alan@roojs.com>
Tue, 19 Sep 2023 07:52:04 +0000 (15:52 +0800)
Pman/Roo.php

index 83fc4d9..136d4bf 100644 (file)
@@ -1204,7 +1204,7 @@ class Pman_Roo extends Pman
         
         $x->whereAdd($this->key .'  IN ('. implode(',', $bits) .')');
         if (!$x->find()) {
-            $this->jerr("Nothing found to delete");
+            $this->jerror("NOTICE-DELETE","Nothing found to delete");
         }
         $errs = array();
         while ($x->fetch()) {