From: philippe_mingo Date: Mon, 24 Sep 2001 14:35:12 +0000 (+0000) Subject: Fixes the bug in the Prefix signature with '--' ? parameter. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=7b9085a23af5c852e768b89d0c62125f4b93fc60 Fixes the bug in the Prefix signature with '--' ? parameter. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1520 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/load_prefs.php b/src/load_prefs.php index aed52bd3..edec5a4f 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -161,9 +161,6 @@ } $prefix_sig = getPref($data_dir, $username, "prefix_sig"); - if ($prefix_sig == "") { - $prefix_sig = true; - } /* Load preferences for reply citation style. */ global $reply_citation_style, $reply_citation_start, $reply_citation_end; diff --git a/src/options_personal.php b/src/options_personal.php index c4c8e039..9b58168e 100644 --- a/src/options_personal.php +++ b/src/options_personal.php @@ -21,7 +21,7 @@ $fullname = getPref($data_dir, $username, 'full_name'); $replyto = getPref($data_dir, $username, 'reply_to'); $email_address = getPref($data_dir, $username, 'email_address'); - +echo $prefix_sig; ?>
@@ -86,24 +86,23 @@ + ' . _("(discards changes made on this form so far)"); + ?>
: - Edit Advanced Identities - (discards changes made on this form so far) -


:
  ' . _("Use a signature?") . '  '; - else - echo '  ' . _("Use a signature?") . '  '; - if ( ! isset($prefix_sig) && $prefix_sig == true ) - echo '  ' - . _( "Prefix signature with '--' ?" ) . '
'; - else - echo '  ' . + echo '  ' . _("Use a signature?") . '  '; + echo '  ' . _( "Prefix signature with '--' ?" ) . '
'; echo "\n
"; ?>