From 31cf7d4e226f195f87b7e29cbc1fb8d136ae1542 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Wed, 30 Nov 2005 19:59:18 +0000 Subject: [PATCH] Remove call-time pass-by-reference, which causes issues on some PHP installs. --- lib/actions/portletregistry.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/actions/portletregistry.inc.php b/lib/actions/portletregistry.inc.php index 5d2894c..2551c5a 100644 --- a/lib/actions/portletregistry.inc.php +++ b/lib/actions/portletregistry.inc.php @@ -53,7 +53,7 @@ class KTPortletRegistry { $oPlugin =& $oRegistry->getPlugin($sPluginName); $oPortlet =& new $sPortletClass; $oPortlet->setPlugin($oPlugin); - array_push($aReturn, &$oPortlet); + array_push($aReturn, $oPortlet); } return $aReturn; } -- libgit2 0.21.4