From 3a4b89f803349f7eb90e22e46e50f849e742554a Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 10 Feb 2020 15:38:04 -0800 Subject: [PATCH] PHP Notice fix. --- e107_handlers/admin_ui.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index cfd7497e7..6ccac2f1e 100755 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -7449,7 +7449,7 @@ class e_admin_form_ui extends e_form unset($parms['__options']); //remove element options if any $options = $parms ? $parms : array(); - if(empty($options)) continue; + if(empty($options)) continue 2; if($type === 'batch') @@ -7540,7 +7540,7 @@ class e_admin_form_ui extends e_form if(vartrue($opts['multiple']) && $type === 'batch') { // no batch support for multiple, should have some for filters soon - continue; + continue 2; } unset($parms['__options']); //remove element options if any @@ -7560,7 +7560,7 @@ class e_admin_form_ui extends e_form if(vartrue($opts['multiple'])) { // no batch support for multiple, should have some for filters soon - continue; + continue 2; } $options = ($val['type'] === 'language') ? e107::getLanguage()->getList() : e107::getLanguage()->getLanSelectArray(); foreach($options as $code => $name) @@ -7647,7 +7647,7 @@ class e_admin_form_ui extends e_form if(isset($list['singleOption'])) { $textsingle .= $list['singleOption']; - continue; + continue 2; } // non rendered options array foreach($list as $k => $name) @@ -7658,7 +7658,7 @@ class e_admin_form_ui extends e_form elseif(!empty($list)) //optgroup, continue { $text .= $list; - continue; + continue 2; } break;