Index: kernel/utility/http_query.php =================================================================== --- kernel/utility/http_query.php (revision 13470) +++ kernel/utility/http_query.php (working copy) @@ -249,10 +249,11 @@ $this->processRewriteURL(); } - if (!defined('GW_NOTIFY') && !$rewrite_url && preg_match('/[\/]{0,1}index.php[\/]{0,1}/', $_SERVER['PHP_SELF'])) { + if (!defined('GW_NOTIFY') && !$rewrite_url && preg_match('/[\/]{0,1}index.php[\/]{0,1}/', $_SERVER['PHP_SELF']) && ($this->Get('t') != 'index')) { // not in payment gateway notification script AND // rewrite url is missing AND not a script from tools folder AND // "index.php" was visited + // not on index page $url_params = $this->getRedirectParams(); // no idea about how to check, that given template require category to be passed with it, so pass anyway