From f54644489a9305f4738bbe3c2adb199652d43992 Mon Sep 17 00:00:00 2001 From: misol Date: Fri, 27 Jul 2012 01:34:01 +0000 Subject: [PATCH] Issue 2180 set agreement as NULL when it update the value. 1.5.3.1 branch has no agreement update value, so.. I commit on the 1.5.3 branch. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3@10950 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/member/member.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/member/member.class.php b/modules/member/member.class.php index 95b35730b..a27d5ebf4 100644 --- a/modules/member/member.class.php +++ b/modules/member/member.class.php @@ -288,7 +288,7 @@ $agreement_file = _XE_PATH_.'files/member_extra_info/agreement.txt'; $output = FileHandler::writeFile($agreement_file, $config->agreement); - unset($config->agreement); + $config->agreement = NULL; $output = $oModuleController->updateModuleConfig('member', $config); }