Pman/Roo.php wip_alan_T6111_set_up_basic_infrastructure
authorAlan Knowles <alan@roojs.com>
Mon, 2 Dec 2019 06:45:56 +0000 (14:45 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 2 Dec 2019 06:45:56 +0000 (14:45 +0800)
Pman/Roo.php

index 99a6d2e..26fd0a9 100644 (file)
@@ -1499,7 +1499,7 @@ class Pman_Roo extends Pman
                         $x->whereAdd("(on_id = $oid  OR 
                                 on_id IN ( SELECT distinct(id) FROM Documents WHERE original = $o ) 
                             )");
-                        continue;
+                        continue 2;
                                 
                     }
                     $x->on_id = $val;
@@ -1517,7 +1517,7 @@ class Pman_Roo extends Pman
                         
                         // the aobve rule for !strlen non-joined cols should apply to joined ones.
                         if (!strlen($val)) {
-                            continue;
+                            continue 2;
                         }