Changeset 1933

Show
Ignore:
Timestamp:
05/18/06 07:11:46 (7 years ago)
Author:
qldrob
Message:

(2.1 backport) Fix for #833 - I was setting the value to be the 'yes' in the display language, which was then breaking when _("yes") == "oui"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.1/amp_conf/htdocs/admin/modules/core/page.general.php

    r1883 r1933  
    165165  </span></a>&nbsp; 
    166166  <select name="ALLOW_SIP_ANON"> 
    167   <option value="<?php echo _("no"); ?>"><?php echo _("no"); ?></option> 
    168   <option <?php if ($ALLOW_SIP_ANON == "yes") echo "SELECTED "?>value="<?php echo _("yes"); ?>"><?php echo _("yes"); ?></option> 
     167  <option value="no"><?php echo _("no"); ?></option> 
     168  <option <?php if ($ALLOW_SIP_ANON == "yes") echo "SELECTED "?>value="yes"><?php echo _("yes"); ?></option> 
    169169  </select> 
    170170</p>