浏览代码

* Fixed a silly bug

Tyler Akins 24 年之前
父节点
当前提交
4a2f724fc4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/options_personal.php

+ 1 - 1
src/options_personal.php

@@ -68,7 +68,7 @@
       echo '<input type=checkbox value="1" name=usesignature checked>&nbsp;&nbsp;' . _("Use a signature?") . '&nbsp;&nbsp;';
       echo '<input type=checkbox value="1" name=usesignature checked>&nbsp;&nbsp;' . _("Use a signature?") . '&nbsp;&nbsp;';
    else
    else
       echo '<input type=checkbox value="1" name=usesignature>&nbsp;&nbsp;' . _("Use a signature?") . '&nbsp;&nbsp;';
       echo '<input type=checkbox value="1" name=usesignature>&nbsp;&nbsp;' . _("Use a signature?") . '&nbsp;&nbsp;';
-  if ( ! isset($prefix_sig) || $prefix_sig == true )
+  if ( ! isset($prefix_sig) && $prefix_sig == true )
     echo '<input type="checkbox" value="1" name="prefixsig" checked>&nbsp;&nbsp;' 
     echo '<input type="checkbox" value="1" name="prefixsig" checked>&nbsp;&nbsp;' 
         . _( "Prefix signature with '--' ?" ) . '<BR>';
         . _( "Prefix signature with '--' ?" ) . '<BR>';
   else
   else