it's $sent_folder instead of $send_folder
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 10 Feb 2006 23:38:42 +0000 (23:38 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 10 Feb 2006 23:38:42 +0000 (23:38 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10700 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/newmail/functions.php

index a9536a0a9e54c1cdb7498b79cf79cc49c221a537..cea3de729175be5a2fdcab505933685ee7e88124 100644 (file)
@@ -173,19 +173,20 @@ function newmail_set_loadinfo_function() {
 /* Receive the status of the folder and do something with it */
 function newmail_folder_status($statusarr) {
     global $newmail_media_enable,$newmail_popup,$newmail_changetitle,$trash_folder,
-           $send_folder,$totalNewArr,$unseen_notify, $newmail_recent;
+           $sent_folder,$totalNewArr,$unseen_notify, $newmail_recent;
 
     //echo "GOT HOOK<br><pre>";
     //var_dump($statusarr);
     //echo "</pre><br>\n";
 
     $mailbox=$statusarr['MAILBOX'];
+
     if ($newmail_media_enable == 'on' ||
         $newmail_popup == 'on' ||
         $newmail_changetitle == 'on') {
 
         // Skip folders for Sent and Trash
-        if ($statusarr['MAILBOX'] == $send_folder || $statusarr['MAILBOX'] == $trash_folder) {
+        if ($statusarr['MAILBOX'] == $sent_folder || $statusarr['MAILBOX'] == $trash_folder) {
             return 0;
         }