Fix PHP notices
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 6 Apr 2009 07:09:54 +0000 (07:09 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 6 Apr 2009 07:09:54 +0000 (07:09 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13528 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/sent_subfolders/functions.php

index 32699de512fb774c06faf34eb18cef679f4c206a..d9d448546e9b351bd0dd98ee3cbd08ede9dafb35 100644 (file)
@@ -20,7 +20,7 @@ define('SMOPT_GRP_SENT_SUBFOLDERS','SENT_SUBFOLDERS');
 
 function sent_subfolders_check_handleAsSent_do($mailbox) {
 
-    global $handleAsSent_result;
+    global $handleAsSent_result, $data_dir, $username;
 
     // don't need to bother if it's already special
     if ($handleAsSent_result) return;
@@ -49,8 +49,8 @@ function sent_subfolders_check_handleAsSent_do($mailbox) {
  */
 function sent_subfolders_optpage_loadhook_folders_do() {
 
-    global $username, $optpage_data, $imapServerAddress, $imapPort,
-           $show_contain_subfolders_option;
+    global $data_dir, $username, $optpage_data, $imapServerAddress,
+           $imapPort, $show_contain_subfolders_option;
 
     /* Get some imap data we need later. */
     $imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0);