From b57408bc0cfcfc6795db80679f41a9a01dc16a8a Mon Sep 17 00:00:00 2001 From: Jon Brown Date: Sun, 16 Feb 2020 22:31:19 +0000 Subject: [PATCH] ref #1724 - small router improvements --- src/libraries/qframework/qwcrm/System/Page.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libraries/qframework/qwcrm/System/Page.php b/src/libraries/qframework/qwcrm/System/Page.php index 50af605d6..5c49b77e7 100644 --- a/src/libraries/qframework/qwcrm/System/Page.php +++ b/src/libraries/qframework/qwcrm/System/Page.php @@ -401,6 +401,12 @@ function force_page($component, $page_tpl = null, $variables = null, $method = ' if($forcePageSystemMessageStore = $this->app->system->variables->systemMessagesReturnStore(false, 'array')) { $this->app->system->variables->postEmulationWrite('forcePageSystemMessageStore', $forcePageSystemMessageStore); } + + // Wipe the system variables (workaround because I need to hive of the Query variables) + if(isset($variables['system'])) + { + unset($variables['system']); + } /* Process Options */