summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/lib/imap.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index 83f8d7b6c..e9b46847d 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -66,8 +66,8 @@
include_once 'lib/icl_commons.inc';
-if (!$IMAP_USE_HEADER_DATE) {
- $IMAP_USE_INTERNAL_DATE = true;
+if (!isset($IMAP_USE_HEADER_DATE) || !$IMAP_USE_HEADER_DATE) {
+ $IMAP_USE_INTERNAL_DATE = true;
}
/**
@@ -2609,4 +2609,4 @@ function iil_C_ClearFolder(&$conn, $folder) {
}
return (iil_C_Expunge($conn, $folder) >= 0);
}
-?> \ No newline at end of file
+?>