moving include to the top.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 31 Jul 2005 12:44:39 +0000 (12:44 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 31 Jul 2005 12:44:39 +0000 (12:44 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9852 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_general.php

index c3e3b0e1820535efbb741dc1c67e82fbffb482c6..f7c18c5c6685f66369dfa6fa31ad5914a80b65d1 100755 (executable)
@@ -16,6 +16,7 @@
 /** Includes.. */
 require_once(SM_PATH . 'functions/page_header.php');
 require_once(SM_PATH . 'functions/auth.php');
+include_once(SM_PATH . 'functions/rfc822address.php');
 
 
 /**
@@ -972,9 +973,6 @@ function sqimap_get_num_messages ($imap_stream, $mailbox) {
     return false; //"BUG! Couldn't get number of messages in $mailbox!";
 }
 
-/** FIXME: include is inserted in the middle of the code */
-include_once(SM_PATH . 'functions/rfc822address.php');
-
 /**
  * OBSOLETE FUNCTION should be removed after mailbox_display,
  * printMessage function is adapted