default becomes 0
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 7 Jul 2003 18:58:29 +0000 (18:58 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 7 Jul 2003 18:58:29 +0000 (18:58 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5241 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/listcommands/mailout.php
plugins/spamcop/spamcop.php

index cdb024a..e505465 100644 (file)
@@ -64,7 +64,7 @@ if (count($idents) > 1) {
     }
     echo '</select>' . "\n" ;
 } else {
-    echo htmlspecialchars('"'.$idents['default']['full_name'].'" <'.$idents['default']['email_address'].'>');
+    echo htmlspecialchars('"'.$idents[0]['full_name'].'" <'.$idents[0]['email_address'].'>');
 }
 
 echo '<br />'
index c77b822..a3f0577 100644 (file)
@@ -163,7 +163,7 @@ agree to follow SpamCop's rules/terms of service/etc.</p>
      htmlspecialchars($passed_id) ?>">
   <input type="hidden" name="send_to" value="<?PHP echo $report_email?>">
   <input type="hidden" name="subject" value="reply anyway">
-  <input type="hidden" name="identity" value="default">
+  <input type="hidden" name="identity" value="0">
   <input type="hidden" name="session" value="<?PHP echo $session?>">
   <input type="submit" name="send" value="Send Spam Report">
 <?PHP } else {