Add SQL_ prefix in place it was missing. (merge from gsoc branch, r38948)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39013 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-07-19 21:52:18 +00:00
parent 4a5d9b03f8
commit fe2314a08e

View File

@ -808,7 +808,7 @@ class Email_BounceHandler extends Controller {
if(!$duplicateBounce) {
$record = new Email_BounceRecord();
$member = DataObject::get_one( 'Member', "`Email`='$email'" );
$member = DataObject::get_one( 'Member', "`Email`='$SQL_email'" );
if( $member )
$record->MemberID = $member->ID;