From c44c823ba34cc48fef4ecb7f5b21a6b114b0270e Mon Sep 17 00:00:00 2001
From: Jonathan Putney <jonathan.putney@me.com>
Date: Thu, 26 Apr 2012 14:54:34 -0300
Subject: [PATCH] Updating include/class.config.php: canFetchMail was not
 checking for the proper database field name in the config table.

---
 include/class.config.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.config.php b/include/class.config.php
index 95a5204e3..e4183779f 100644
--- a/include/class.config.php
+++ b/include/class.config.php
@@ -313,7 +313,7 @@ class Config {
     }
         
     function canFetchMail() {
-        return ($this->config['enable_mail_fetch']);
+        return ($this->config['enable_mail_polling']);
     }
 
     function enableStaffIPBinding() {
-- 
GitLab