Skip to content
Browse files

Set filter type to 'string' for new $input->get() in

getMenuOrRequestVar(), otherwise it defaults to 'cmd' and strips things
like | out of usekey=foo|bar, etc. as per:
  • Loading branch information...
1 parent 21949e9 commit 3437a5a7a46458d4fadca9c4cde5baee0ef6b814 @cheesegrits cheesegrits committed May 8, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/com_fabrik/helpers/parent.php
View
4 components/com_fabrik/helpers/parent.php
@@ -1467,7 +1467,7 @@ public static function getMenuOrRequestVar($name, $val = '', $mambot = false, $p
$input = $app->input;
if ($priority === 'menu')
{
- $val = $input->get($name, $val);
+ $val = $input->get($name, $val, 'string');
if (!$app->isAdmin())
{
$menus = $app->getMenu();
@@ -1493,7 +1493,7 @@ public static function getMenuOrRequestVar($name, $val = '', $mambot = false, $p
$val = $menu->params->get($name, $val);
}
}
- $val = $input->get($name, $val);
+ $val = $input->get($name, $val, 'string');
}
return $val;
}

1 comment on commit 3437a5a

@cheesegrits
Fabrik member
Please sign in to comment.
Something went wrong with that request. Please try again.