From f407e410c1b6c600aa3fd4445ae5bc2c40295b61 Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 9 Apr 2013 17:24:06 +1200 Subject: [PATCH] CRM-12305 further eval removal --- CRM/Core/BAO/Location.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/Location.php b/CRM/Core/BAO/Location.php index 31a4bbad8c..396857b8cd 100644 --- a/CRM/Core/BAO/Location.php +++ b/CRM/Core/BAO/Location.php @@ -63,7 +63,7 @@ class CRM_Core_BAO_Location extends CRM_Core_DAO { // create location blocks. foreach (self::$blocks as $block) { if ($block != 'address') { - eval('$location[$block] = CRM_Core_BAO_Block::create( $block, $params, $entity );'); + $location[$block] = CRM_Core_BAO_Block::create( $block, $params, $entity ); } else { $location[$block] = CRM_Core_BAO_Address::create($params, $fixAddress, $entity); -- 2.25.1