From: eileen Date: Tue, 9 Apr 2013 05:24:06 +0000 (+1200) Subject: CRM-12305 further eval removal X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f407e410c1b6c600aa3fd4445ae5bc2c40295b61;p=civicrm-core.git CRM-12305 further eval removal --- 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);