Passed
Push — master ( b85c5f...1ed11a )
by Jean-Christophe
02:13
created
Ajax/php/ubiquity/JsUtils.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,9 @@
 block discarded – undo
47 47
 		if(isset($this->injected)){
48 48
 			$view=$this->injected->getView();
49 49
 			$this->compile($view);
50
-			if (isset($parameters))
51
-				$view->setVars($parameters);
50
+			if (isset($parameters)) {
51
+							$view->setVars($parameters);
52
+			}
52 53
 			return $view->render($viewName, $asString);
53 54
 		}
54 55
 		throw new \Exception(get_class()." instance is not properly instancied : you omitted the second parameter \$controller!");
Please login to merge, or discard this patch.