Skip to content

Commit 76fc6ca

Browse files
committed
use the correct value to set the select config option
1 parent 7c1250e commit 76fc6ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html/lists/admin/actions/configure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
echo '<select name="values['.$id.']">';
8282
foreach ($configItem['values'] as $key => $label) {
8383
print '<option value="'.$key.'"';
84-
if ($key == $configItem['value']) {
84+
if ($key == $value) {
8585
print ' selected="selected"';
8686
}
8787
print '>'.$label.'</option>';

0 commit comments

Comments
 (0)