Commit 58d316cd4272d8ca0237a02beca4ba3ca482342d

Authored by Conrad Vermeulen
1 parent 27e1298d

KTS-1687

"Double quote to single quote conversion"
Fixed. Minor string scan optimisation.
Reviewed by: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6252 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 2 additions and 1 deletions
control.php
@@ -142,7 +142,8 @@ if (!$page) { @@ -142,7 +142,8 @@ if (!$page) {
142 $_SESSION['pageAccess'][$accessPage] = true; 142 $_SESSION['pageAccess'][$accessPage] = true;
143 // if we have a querystring add it on 143 // if we have a querystring add it on
144 if (strlen($queryString) > 0) { 144 if (strlen($queryString) > 0) {
145 - $page = $page . (($paramStart !== false) ? "&$queryString" : "?$queryString"); 145 + $page .= ($paramStart !== false)?'&':'?';
  146 + $page .= $queryString;
146 $default->log->info("control.php: about to redirect to $page"); 147 $default->log->info("control.php: about to redirect to $page");
147 } 148 }
148 redirect($page); 149 redirect($page);