From 7cc0394b9bd003ada0b535975fb2ea7ef519ec08 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Mon, 11 May 2015 14:56:59 -0400 Subject: [PATCH] Still fixing it. --- classes/glmMemberImportFromConnections.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/classes/glmMemberImportFromConnections.php b/classes/glmMemberImportFromConnections.php index a25feaf4..5a361b0e 100644 --- a/classes/glmMemberImportFromConnections.php +++ b/classes/glmMemberImportFromConnections.php @@ -170,7 +170,7 @@ class GlmMemberImportFromConnections ) VALUES ( - '$memberTypeName', + '".addslashes($memberTypeName)."', '' ) ;"; @@ -195,7 +195,7 @@ class GlmMemberImportFromConnections ) VALUES ( - '$memberTypeName', + '".addslashes($memberTypeName)."', '', '' ) @@ -268,8 +268,8 @@ class GlmMemberImportFromConnections ) VALUES ( - '".$c['name']."', - '".$c['descr']."', + '".addslashes($c['name'])."', + '".addslashes($c['descr'])."', '', 0 ) @@ -342,7 +342,7 @@ class GlmMemberImportFromConnections ".$this->config['memb_access_numb']['Moderated'].", $membTypeID, '".$m['ts']."', - '".$m['organization']."' + '".addslashes($m['organization'])."' ) ;"; $this->wpdb->query($sql); @@ -451,16 +451,16 @@ class GlmMemberImportFromConnections VALUES ( $membID, - '".$m['organization']."', + '".addslashes($m['organization'])."', ".($m['status'] == 'approved' ? $this->config['status_numb']['Active'] : $this->config['status_numb']['Inactive'] ).", 'Imported from Connections Business Listing', - '".$m['bio']."', + '".addslashes($m['bio'])."', '', - '".$addr['line_1']."', - '".$addr['line_2']."', + '".addslashes($addr['line_1'])."', + '".addslashes($addr['line_2'])."', $cityID, '".$addr['state']."', '".$addr['country']."', -- 2.17.1