Merge pull request #7886 from sarehag/CRM-18114
[civicrm-core.git] / CRM / Utils / Array.php
index 4ace0a208681ca3b920098479e5096756eccb4fc..17fc32963be70b71f824b90dcf4b04018c39374a 100644 (file)
@@ -106,7 +106,7 @@ class CRM_Utils_Array {
    * @return int|string|null
    *   Returns the key, which could be an int or a string, or NULL on failure.
    */
-  public static function key($value, &$list) {
+  public static function key($value, $list) {
     if (is_array($list)) {
       $key = array_search($value, $list);