From 62083141460db75d13cfec0acd1fa0ea52722034 Mon Sep 17 00:00:00 2001
From: moglia <moglia@ispconfig3>
Date: Tue, 23 Feb 2010 17:08:46 -0500
Subject: [PATCH] Modified loadUserProfile function i discovered using mailuser interface from horfic after many tests and debugs functions recive a value iguals to userid field not sys_userid. I keep sysuser_id testing for compatibility issues no have any idea if this used in another place and added aditional userid test.  Tested all things and used auto-response with roundcube with this modifications all worked fine. More info see here: http://www.howtoforge.com/forums/showthread.php?t=38437&page=15

---
 interface/web/admin/form/filesync.tform.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/admin/form/filesync.tform.php b/interface/web/admin/form/filesync.tform.php
index 969dbe2..721fd97 100644
--- a/interface/web/admin/form/filesync.tform.php
+++ b/interface/web/admin/form/filesync.tform.php
@@ -189,7 +189,7 @@
 			'regex'		=> '',
 			'errmsg'	=> '',
 			'default'	=> '1',
-			'value'		=> '1',
+			'value'		=> array(0 => 0,1 => 1),
 			'separator'	=> '',
 			'width'		=> '30',
 			'maxlength'	=> '255',

--
Gitblit v1.9.1