aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/BaseController.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers/BaseController.php')
-rw-r--r--h-source/Application/Controllers/BaseController.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php
index 7d03735..0f7c532 100644
--- a/h-source/Application/Controllers/BaseController.php
+++ b/h-source/Application/Controllers/BaseController.php
@@ -27,7 +27,7 @@ class BaseController extends Controller
protected $ismoderator = false;
protected $querySanitized = true;
protected $token = 'token';
-
+
protected $_topMenuClasses = array(
"home" => null,
"hardware" => null,
@@ -82,9 +82,11 @@ class BaseController extends Controller
$data['tm'] = $this->_topMenuClasses;
-// print_r($this->_queryString);
$this->_queryString = $this->sanitizeQueryString($this->_queryString);
-
+
+ $data['querySanitized'] = $this->querySanitized;
+ $data['queryString'] = Url::createUrl($this->_queryString);
+
$this->append($data);
}