Skip to content

Commit 1ed11a1

Browse files
committed
$this->view ->$view bug fixed
1 parent b85c5f2 commit 1ed11a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Ajax/php/ubiquity/JsUtils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public function renderView($viewName,$parameters=[],$asString=false){
4848
$view=$this->injected->getView();
4949
$this->compile($view);
5050
if (isset($parameters))
51-
$this->view->setVars($parameters);
52-
return $this->view->render($viewName, $asString);
51+
$view->setVars($parameters);
52+
return $view->render($viewName, $asString);
5353
}
5454
throw new \Exception(get_class()." instance is not properly instancied : you omitted the second parameter \$controller!");
5555
}

0 commit comments

Comments
 (0)