Skip to content

Commit

Permalink
Fixed issue #6448: Error when saving global settings on MSSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Aug 8, 2012
1 parent 780d811 commit ba64ed4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions application/views/admin/globalSettings_view.php
Expand Up @@ -223,7 +223,7 @@
<input type='password' size='50' id='emailsmtppassword' name='emailsmtppassword' value='somepassword' /></li>
<li><label for='emailsmtpssl'><?php $clang->eT("SMTP SSL/TLS:"); ?></label>
<select id='emailsmtpssl' name='emailsmtpssl'>
<option value=''
<option value='off'
<?php if (getGlobalSetting('emailsmtpssl')=='') { echo "selected='selected'";} ?>
><?php $clang->eT("Off"); ?></option>
<option value='ssl'
Expand All @@ -235,8 +235,9 @@
</select></li>
<li><label for='emailsmtpdebug'><?php $clang->eT("SMTP debug mode:"); ?></label>
<select id='emailsmtpdebug' name='emailsmtpdebug'>
<option value=''
<?php if (getGlobalSetting('emailsmtpdebug')=='0') { echo "selected='selected'";} ?>
<option value='0'
<?php
if (getGlobalSetting('emailsmtpdebug')=='0') { echo "selected='selected'";} ?>
><?php $clang->eT("Off"); ?></option>
<option value='1'
<?php if (getGlobalSetting('emailsmtpdebug')=='1' || getGlobalSetting('emailsmtpssl')==1) { echo "selected='selected'";} ?>
Expand Down

0 comments on commit ba64ed4

Please sign in to comment.