File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 190190 $ domain_select = "<option value=''></option> \r\n" ;
191191 if (is_array ($ domains ) && sizeof ($ domains ) > 0 ) {
192192 /* We have domains in the list, so create the drop-down-list */
193- foreach ( $ domains as $ domain ) {
194- $ domain_select .= "<option value= " . $ domain ['domain_id ' ] ;
195- if ($ domain ['domain_id ' ] == $ _POST ['domain ' ]) {
193+ foreach ( $ domains as $ d ) {
194+ $ domain_select .= "<option value= " . $ d ['domain_id ' ] ;
195+ if ($ d ['domain_id ' ] == $ _POST ['domain ' ]) {
196196 $ domain_select .= " selected " ;
197- $ selected_domain = $ domain ['domain ' ];
197+ $ selected_domain = $ d ['domain ' ];
198198 }
199- $ domain_select .= "> " . $ app ->functions ->idn_decode ($ domain ['domain ' ]) . ".</option> \r\n" ;
199+ $ domain_select .= "> " . $ app ->functions ->idn_decode ($ d ['domain ' ]) . ".</option> \r\n" ;
200200 }
201201 }
202202 $ app ->tpl ->setVar ("domain_option " , $ domain_select );
You can’t perform that action at this time.
0 commit comments