* Duck reference errors on PHP >4.4.0
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Wed, 26 Oct 2005 01:01:56 +0000 (01:01 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Wed, 26 Oct 2005 01:01:56 +0000 (01:01 +0000)
includes/Profiling.php

index 57c43fa..316f264 100755 (executable)
@@ -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];
        }