Skip to content

Commit b57408b

Browse files
committed
ref #1724 - small router improvements
1 parent d53221c commit b57408b

File tree

1 file changed

+6
-0
lines changed
  • src/libraries/qframework/qwcrm/System

1 file changed

+6
-0
lines changed

src/libraries/qframework/qwcrm/System/Page.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,12 @@ function force_page($component, $page_tpl = null, $variables = null, $method = '
401401
if($forcePageSystemMessageStore = $this->app->system->variables->systemMessagesReturnStore(false, 'array')) {
402402
$this->app->system->variables->postEmulationWrite('forcePageSystemMessageStore', $forcePageSystemMessageStore);
403403
}
404+
405+
// Wipe the system variables (workaround because I need to hive of the Query variables)
406+
if(isset($variables['system']))
407+
{
408+
unset($variables['system']);
409+
}
404410

405411
/* Process Options */
406412

0 commit comments

Comments
 (0)