From 74fa04228f96479ee1b1f52932330083823a723b Mon Sep 17 00:00:00 2001 From: Marius Orcsik Date: Wed, 19 Nov 2008 20:33:38 +0100 Subject: [PATCH] * fixed a notice about passing the return of array_keys as reference in the end function --- _res/_libs/tsurlabstract.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_res/_libs/tsurlabstract.class.php b/_res/_libs/tsurlabstract.class.php index e24d39e..02803e2 100644 --- a/_res/_libs/tsurlabstract.class.php +++ b/_res/_libs/tsurlabstract.class.php @@ -75,7 +75,8 @@ abstract class tsUrlAbstract { } else { $tdir = $this->dir; } - $lastKey = end(array_keys($params)); + $keys = array_keys($params); + $lastKey = end($keys); return $this->scheme . '://' . $this->host . $this->port . $tdir . $this->outputParams ($params); } -- 2.11.4.GIT