Commit ce301d4a authored by merlinofchaos's avatar merlinofchaos

Make $arg into % for path upgrades from Views 1

parent 4dc99327
......@@ -173,7 +173,8 @@ function views1_import($imported) {
if (!empty($imported->page)) {
$handler = &$view->display['page']->handler;
$handler->set_option('path', $imported->url);
$url = str_replace('$arg', '%', $imported->url);
$handler->set_option('path', $url);
if ($imported->menu) {
$menu = array('type' => 'normal');
if ($imported->menu_tab) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment