We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24ea17a commit 8e4d686Copy full SHA for 8e4d686
web/templates/pages/edit_mail.html
@@ -76,13 +76,13 @@
76
<select class="vst-list" name="v_webmail" tabindex="6">
77
<?php foreach ($webmail_clients as $client){
78
echo "\t\t\t\t<option value=\"".htmlentities($client)."\"";
79
- if (( $v_webmail == $client )) {
+ if (( htmlentities(trim($v_webmail,"'")) == $client )) {
80
echo ' selected' ;
81
}
82
echo ">".htmlentities(ucfirst($client))."</option>\n";
83
84
?>
85
- <option value="disabled" <?php if ( empty($v_webmail) || ($v_webmail == 'disabled')) { echo "selected";}?>><?=_('Disabled');?></option>
+ <option value="disabled" <?php if (htmlentities(trim($v_webmail,"'")) == 'disabled') { echo "selected";}?>><?=_('Disabled');?></option>
86
</select>
87
</td>
88
</tr>
0 commit comments