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 cdb024a8ccd42c9ef5d1d3f5e72881c861df9d52..e505465a8c2a02f6851fb6e8162af185f06c0104 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 c77b822c856c68b20a80c719c962936ebcb5df27..a3f0577e7ce4012892380c03ed29a36165e9bbd1 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 {