diff --git a/lib/base/front/front.class.php b/lib/base/front/front.class.php index 4779559811..a8cd5c52d1 100644 --- a/lib/base/front/front.class.php +++ b/lib/base/front/front.class.php @@ -172,7 +172,6 @@ class baseHTML $selectedItems = ",$selectedItems,"; foreach($options as $key => $value) { - $key = str_replace('item', '', $key); $selected = strpos($selectedItems, ",$key,") !== false ? " selected='selected'" : ''; $string .= "\n"; } @@ -209,7 +208,6 @@ class baseHTML $string .= "\n"; foreach($options as $key => $value) { - $key = str_replace('item', '', $key); $selected = strpos($selectedItems, ",$key,") !== false ? " selected='selected'" : ''; $string .= "\n"; } @@ -280,7 +278,6 @@ class baseHTML foreach($options as $key => $value) { - $key = str_replace('item', '', $key); if($isBlock) $string .= "