diff --git a/vqmod/vqmod.php b/vqmod/vqmod.php index 53585cd..ffed1b2 100644 --- a/vqmod/vqmod.php +++ b/vqmod/vqmod.php @@ -681,7 +681,7 @@ public function applyMod($mods, &$data) { if($mod['error'] == 'log' || $mod['error'] == 'abort' ) { VQMod::$log->write('VQModObject::applyMod - INVALID REGEX ERROR - ' . $mod['search']->getContent(), $this); } - continue 2; + break 2; } elseif($pos == 0) { $pos = false; }