Index: branches/5.2.x/core/kernel/application.php =================================================================== diff -u -N -r14880 -r14904 --- branches/5.2.x/core/kernel/application.php (.../application.php) (revision 14880) +++ branches/5.2.x/core/kernel/application.php (.../application.php) (revision 14904) @@ -1,6 +1,6 @@ HttpQuery =& $this->recallObject('HTTPQuery'); - $this->HttpQuery->AfterInit(); // TODO: only uses build-in rewrite listeners, when cache is build for the first time + $this->HttpQuery->process(); if ( defined('DEBUG_MODE') && $this->isDebugMode() ) { $this->Debugger->appendTimestamp('Processed HTTPQuery initial'); @@ -1222,8 +1222,9 @@ public function GetVarDirect($name, $type, $default = false) { // $type = ucfirst($type); + $array = $this->HttpQuery->$type; - return isset($this->HttpQuery->$type[$name]) ? $this->HttpQuery->$type[$name] : $default; + return isset($array[$name]) ? $array[$name] : $default; } /**