Pārlūkot izejas kodu

fix for weird &quot in subject instead of "

stekkel 23 gadi atpakaļ
vecāks
revīzija
904ef81cfa
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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() {
 function plugin_listcommands_menu() {
     global $imapConnection, $passed_id, $color, $mailbox,
     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
      * Array of commands we can deal with from the header. The Reply option