From 58d316cd4272d8ca0237a02beca4ba3ca482342d Mon Sep 17 00:00:00 2001 From: Conrad Vermeulen Date: Tue, 13 Feb 2007 13:41:52 +0000 Subject: [PATCH] KTS-1687 "Double quote to single quote conversion" Fixed. Minor string scan optimisation. Reviewed by: Kevin Fourie --- control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/control.php b/control.php index f9a5986..13cb23b 100644 --- a/control.php +++ b/control.php @@ -142,7 +142,8 @@ if (!$page) { $_SESSION['pageAccess'][$accessPage] = true; // if we have a querystring add it on if (strlen($queryString) > 0) { - $page = $page . (($paramStart !== false) ? "&$queryString" : "?$queryString"); + $page .= ($paramStart !== false)?'&':'?'; + $page .= $queryString; $default->log->info("control.php: about to redirect to $page"); } redirect($page); -- libgit2 0.21.4