From f2fd119c3bdf4d2ab342113bd9c41923287ea9f0 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Thu, 10 Nov 2005 15:21:42 +0000 Subject: [PATCH] Allow the qs request variable to be an array. --- control.php | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/control.php b/control.php index 607beeb..3b6fcd9 100644 --- a/control.php +++ b/control.php @@ -50,6 +50,13 @@ if (checkSessionAndRedirect(false)) { } $queryString = KTUtil::arrayGet($_REQUEST, 'qs', ''); +if (is_array($queryString)) { + $aStrings = array(); + foreach ($queryString as $k => $v) { + $aStrings[] = $k . '=' . $v; + } + $queryString = join('&', $aStrings); +} if (empty($queryString)) { // need to strip query string params from action before attempting to retrieve from sitemap -- libgit2 0.21.4