From 9f61bcc92cb02c2056a5920ef634b676cc89d86d Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 9 Dec 2016 16:50:23 -0200 Subject: $array doesn't need to be a reference here --- src/etc/inc/itemid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/inc/itemid.inc b/src/etc/inc/itemid.inc index 1fe4809..1eb2bd8 100644 --- a/src/etc/inc/itemid.inc +++ b/src/etc/inc/itemid.inc @@ -75,7 +75,7 @@ function delete_id($id, &$array) { * RESULT * mixed - The id, NULL if not found ******/ -function get_id($id, &$array) { +function get_id($id, $array) { // Use $foo = &get_id('id', array('id'=>'value')); if (!is_array($array)) { -- cgit v1.1