Commit fe435516 authored by Angel Matilla's avatar Angel Matilla
Browse files

added visualization of option table corrections 8

parent 6547edd5
......@@ -177,7 +177,7 @@ class GEN_EU_Registration_Dashboard {
if(isset($_POST['form-id'])){
$this->form_id = $_POST['form-id'];
foreach ( Gen_EU_Form_Parameters::FORM_PICKER as $slug => $form ) {
if($slug == Gen_EU_Form_Parameters::FORM_PICKER[$this->form_id]){
if($slug == $this->form_id){
echo '<option value="' . esc_attr( $slug ) . '" selected>' . esc_html( $form['label'] ) . '</option>';
}
else{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment