From d1572b1272752ef494dff57e3149fbb4bb6def3a Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 8 Oct 2008 01:00:08 +0000 Subject: [PATCH] BUGFIX Fixed blatant error where $SNG_member wasn't defined git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63799 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/MemberTableField.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/MemberTableField.php b/code/MemberTableField.php index 2103d663..49b0aaa5 100755 --- a/code/MemberTableField.php +++ b/code/MemberTableField.php @@ -107,6 +107,8 @@ class MemberTableField extends ComplexTableField { $this->sourceSort = '`' . Convert::raw2sql($_REQUEST['MemberOrderByField']) . '`' . Convert::raw2sql( $_REQUEST['MemberOrderByOrder'] ); } + $SNG_member = singleton('Member'); + // search $SQL_search = isset($_REQUEST['MemberSearch']) ? Convert::raw2sql($_REQUEST['MemberSearch']) : null; if(!empty($_REQUEST['MemberSearch'])) {