summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrojaro <>2010-04-14 10:54:29 +0000
committerrojaro <>2010-04-14 10:54:29 +0000
commitb360ed1c72691d6decef6084e304c4bb09fc5f71 (patch)
tree12e486866d42af45bb15d65316957c72510ef4df
parent3ab953b22dc3200f864fe8282d1ebff0498e98ee (diff)
fixed the vsort, vrsort etc. functions which tried to instantiate ArraySorter instead of TArraySorter
-rw-r--r--framework/Util/TLogRouter.php10
1 files changed, 5 insertions, 5 deletions
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
+}