Explorar o código

fix for weird &quot in subject instead of "

stekkel %!s(int64=23) %!d(string=hai) anos
pai
achega
904ef81cfa
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      plugins/listcommands/setup.php

+ 3 - 1
plugins/listcommands/setup.php

@@ -22,7 +22,9 @@ function squirrelmail_plugin_init_listcommands () {
 
 function plugin_listcommands_menu() {
     global $imapConnection, $passed_id, $color, $mailbox,
-           $subject, $ent_num, $priority_level, $compose_new_win;
+           $message, $ent_num, $priority_level, $compose_new_win;
+
+    $subject = trim($message->header->subject);
 
     /**
      * Array of commands we can deal with from the header. The Reply option