CRM-15932 - Cleanup unnecessary use of CRM_Utils_Array
[civicrm-core.git] / CRM / Price / BAO / PriceSet.php
index 577105ed32e3e6981291f20d868573e95c1d960c..e0a6e90f064af65f86a58555644a4b15bd6c91c7 100644 (file)
@@ -1068,7 +1068,7 @@ WHERE  id = %1";
     foreach ($params['price_set_id'] as $priceSetID) {
       CRM_Price_BAO_PriceSet::addTo('civicrm_' . $entityName, $entity->id, $priceSetID);
       //@todo - how should we do this - copied from form
-      //if (CRM_Utils_Array::value('price_field_id', $params)) {
+      //if (!empty($params['price_field_id'])) {
       //  $priceSetID = CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceField', $params['price_field_id'], 'price_set_id');
       //  CRM_Price_BAO_PriceSet::setIsQuickConfig($priceSetID, 0);
       //}