From b81135443e1673c7e9901fda9aa8a9fb978cf510 Mon Sep 17 00:00:00 2001 From: sminnee Date: Sun, 23 Nov 2008 00:30:52 +0000 Subject: [PATCH] Updated SQL queries to be ansi compatable git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@66400 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 0b9387b..7becb45 100644 --- a/install.php +++ b/install.php @@ -735,7 +735,7 @@ PHP $_REQUEST['password'] = $config['admin']['password']; $dbAdmin->doBuild(true); - $adminmember = DataObject::get_one('Member',"`Email`= '".$_REQUEST['admin']['username']."'"); + $adminmember = DataObject::get_one('Member',"\"Email\"= '".$_REQUEST['admin']['username']."'"); if($adminmember) { $adminmember->FirstName = $_REQUEST['admin']['firstname']; $adminmember->Surname = $_REQUEST['admin']['surname'];