Ver código fonte

default becomes 0

Thijs Kinkhorst 22 anos atrás
pai
commit
4dc2e61e2e
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      plugins/listcommands/mailout.php
  2. 1 1
      plugins/spamcop/spamcop.php

+ 1 - 1
plugins/listcommands/mailout.php

@@ -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 />'

+ 1 - 1
plugins/spamcop/spamcop.php

@@ -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 {