X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=RooTrait.php;h=9a929f1ec7a527cfc29d6683860cac046aa4266d;hp=c1c2cb4244776509d66928ba3a1c1151e28518b4;hb=a1a3ecba68d2fedabc8203e88b40759401d7472d;hpb=1528ffa098783910063e8875ff9fd98f6744c004 diff --git a/RooTrait.php b/RooTrait.php index c1c2cb42..9a929f1e 100644 --- a/RooTrait.php +++ b/RooTrait.php @@ -257,7 +257,7 @@ trait Pman_Core_RooTrait { $x->whereAdd("(on_id = $oid OR on_id IN ( SELECT distinct(id) FROM Documents WHERE original = $o ) )"); - continue; + continue 2; } $x->on_id = $val; @@ -281,7 +281,7 @@ trait Pman_Core_RooTrait { } - continue; + continue 2; } } if (!empty($q_filtered)) { @@ -310,7 +310,7 @@ trait Pman_Core_RooTrait { return; } - if (Pman::$permitError) { + if (self::$permitError) { return;