X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FQuickForm%2FNestedAdvMultiSelect.php;h=82e8bebbf06274ee1c90b11b356037bc275ad834;hb=bcef009a812a47000001a506f7c37be87665e7b8;hp=a210b710b17f9672a9e6eeb06e88b0c66bbb9cf3;hpb=0c5302177abdd62e8001e00a493d19dcdabdd2d5;p=civicrm-core.git diff --git a/CRM/Core/QuickForm/NestedAdvMultiSelect.php b/CRM/Core/QuickForm/NestedAdvMultiSelect.php index a210b710b1..82e8bebbf0 100644 --- a/CRM/Core/QuickForm/NestedAdvMultiSelect.php +++ b/CRM/Core/QuickForm/NestedAdvMultiSelect.php @@ -30,7 +30,6 @@ * * @package CRM * @copyright U.S. PIRG Education Fund 2007 - * $Id$ * */ @@ -40,6 +39,7 @@ require_once 'HTML/QuickForm/advmultiselect.php'; * Class CRM_Core_QuickForm_NestedAdvMultiSelect */ class CRM_Core_QuickForm_NestedAdvMultiSelect extends HTML_QuickForm_advmultiselect { + /** * Loads options from different types of data sources. * @@ -67,7 +67,7 @@ class CRM_Core_QuickForm_NestedAdvMultiSelect extends HTML_QuickForm_advmultisel ) { switch (TRUE) { case ($options instanceof Iterator): - $arr = array(); + $arr = []; foreach ($options as $key => $val) { $arr[$key] = $val; }