From b360ed1c72691d6decef6084e304c4bb09fc5f71 Mon Sep 17 00:00:00 2001 From: rojaro <> Date: Wed, 14 Apr 2010 10:54:29 +0000 Subject: fixed the vsort, vrsort etc. functions which tried to instantiate ArraySorter instead of TArraySorter --- framework/Util/TLogRouter.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'framework/Util') diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php index 591bd2f6..f2dcb5cd 100644 --- a/framework/Util/TLogRouter.php +++ b/framework/Util/TLogRouter.php @@ -1554,7 +1554,7 @@ class TArraySorter { * @param string $key the $key in the child arrays to use to sort by */ function vsort(&$array, $key) { - $vsort = new ArraySorter($key); + $vsort = new TArraySorter($key); $vsort->vsort($array); unset($vsort); } @@ -1565,7 +1565,7 @@ function vsort(&$array, $key) { * @param string $key the $key in the child arrays to use to sort by */ function avsort(&$array, $key) { - $uvsort = new ArraySorter($key); + $uvsort = new TArraySorter($key); $uvsort->avsort($array); unset($uvsort); } @@ -1576,7 +1576,7 @@ function avsort(&$array, $key) { * @param string $key the $key in the child arrays to use to sort by */ function vrsort(&$array, $key) { - $vsort = new ArraySorter($key); + $vsort = new TArraySorter($key); $vsort->vrsort($array); unset($vsort); } @@ -1587,7 +1587,7 @@ function vrsort(&$array, $key) { * @param string $key the $key in the child arrays to use to sort by */ function avrsort(&$array, $key) { - $vsort = new ArraySorter($key); + $vsort = new TArraySorter($key); $vsort->avrsort($array); unset($vsort); } @@ -2130,4 +2130,4 @@ class TFirePhpLogRoute extends TLogRoute implements IHeaderRoute { $this->_groupLabel=$value ? $value : null; } -} \ No newline at end of file +} -- cgit v1.2.3