From: Ævar Arnfjörð Bjarmason Date: Wed, 26 Oct 2005 01:01:56 +0000 (+0000) Subject: * Duck reference errors on PHP >4.4.0 X-Git-Tag: 1.6.0~1313 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=a3bd4f01ea2c00f01da0b8ab70e456c5cfb0c43f;p=lhc%2Fweb%2Fwiklou.git * Duck reference errors on PHP >4.4.0 --- diff --git a/includes/Profiling.php b/includes/Profiling.php index 57c43facf9..316f264ddc 100755 --- a/includes/Profiling.php +++ b/includes/Profiling.php @@ -342,7 +342,7 @@ class Profiler { * Get the function name of the current profiling section */ function getCurrentSection() { - $elt =& end($this->mWorkStack); + $elt = end($this->mWorkStack); return $elt[0]; }