fix actioninclude
This commit is contained in:
parent
d0bd2bbf27
commit
210ea4d9d9
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class OC_Route extends Route {
|
|||
}
|
||||
|
||||
public function actionInclude($file) {
|
||||
$function = create_function('$param', 'unset($param["_route"]);$_GET=$param;unset($param);require_once "'.$file.'";');
|
||||
$function = create_function('$param', 'unset($param["_route"]);$_GET=array_merge($_GET,$param);unset($param);require_once "'.$file.'";');
|
||||
$this->action($function);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue