@@ -103,6 +103,11 @@ if (! isset($use_mailbox_cache)) {
$use_mailbox_cache = 0;
}
+/* There is a problem with registered vars in 4.1 */
+if( substr( phpversion(), 0, 3 ) == '4.1' ) ) {
+ $use_mailbox_cache = FALSE;
+}
+
if ($use_mailbox_cache && session_is_registered('msgs')) {
showMessagesForMailbox($imapConnection, $mailbox, $numMessages, $startMessage, $sort, $color, $show_num, $use_mailbox_cache);
} else {