CRM-14514 remove commas not curly braces
authorTyrell Cook <tyrell@aghstrategies.com>
Mon, 28 Apr 2014 02:40:29 +0000 (22:40 -0400)
committerTyrell Cook <tyrell@aghstrategies.com>
Mon, 28 Apr 2014 02:40:29 +0000 (22:40 -0400)
CRM/Contact/BAO/Query.php

index 276d78c0e89c2b5c0c6c9a787246a433e61daf5c..99cbce1b29942b8ed9f605b794c34a081ca2fa76 100644 (file)
@@ -1073,7 +1073,7 @@ class CRM_Contact_BAO_Query {
 
               if (substr_count($a, 'state_province_name') > 0) {
                 $this->_pseudoConstantsSelect["{$name}-{$elementFullName}"] =
-                  array('pseudoField' => ("$pf_id"), 'idCol' => "{$tName}_id", 'bao' => 'CRM_Core_BAO_Address');
+                  array('pseudoField' => "{$pf}_id", 'idCol' => "{$tName}_id", 'bao' => 'CRM_Core_BAO_Address');
                 $this->_pseudoConstantsSelect["{$name}-{$elementFullName}"]['select'] = "`$tName`.name as `{$name}-{$elementFullName}`";
               }
               else {