From 940a9c3f9f316595c63c5a0c883e6bc55d85cdbb Mon Sep 17 00:00:00 2001 From: Michael Clemens Date: Fri, 12 Jun 2009 10:49:46 +0000 Subject: [PATCH] fixed problem with sorting by columns, column names with blanks and urlencode --- includes/tsmmonitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/tsmmonitor.php b/includes/tsmmonitor.php index 0f0c9ec..5f14419 100644 --- a/includes/tsmmonitor.php +++ b/includes/tsmmonitor.php @@ -89,7 +89,7 @@ class TSMMonitor { // GET-variables $this->GETVars["menu"] = urlencode($_GET['m']); $this->GETVars["qq"] = urlencode($_GET['q']); - $this->GETVars['ob'] = urlencode($_GET['sort']); + $this->GETVars['ob'] = urldecode($_GET['sort']); $this->GETVars['orderdir'] = urlencode($_GET['so']); if ($_POST['s'] != '') {