Skip to content
This repository was archived by the owner on Dec 2, 2019. It is now read-only.

Commit 5be1699

Browse files
author
Gerhard Lazu
committed
Empty elements & id for search form
1 parent 24adf3d commit 5be1699

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

glz_custom_fields_raw.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ function glz_selectInput($name = '', $id = '', $arr_values = '', $custom_value =
643643
}
644644

645645
return "<select id=\"".glz_idify($id)."\" name=\"$name\" class=\"list\"$multi>".
646-
($blank_first ? "<option value=\"\"$selected></option>" : '').
646+
($blank_first ? "<option value=\"\"$selected>&nbsp;</option>" : '').
647647
( $out ? join('', $out) : '').
648648
"</select>";
649649
}
@@ -1318,7 +1318,7 @@ function glz_custom_fields_search_form($atts) {
13181318
// dmp($arr_query_custom);
13191319

13201320
// start our form
1321-
$out[] = '<form method="post" action="'.hu.$results_page.'">'.n
1321+
$out[] = '<form method="post" action="'.hu.$results_page.'" id="glz_custom_fields_search">'.n
13221322
.'<fieldset>'.n;
13231323

13241324
// build our selects

0 commit comments

Comments
 (0)