Completed
Push — master ( 40080a...3f2ff8 )
by Jean-Christophe
04:12 queued 01:14
created
Ajax/common/Widget.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,15 +10,15 @@
 block discarded – undo
10 10
 	protected $_modelInstance;
11 11
 	protected $_instanceViewer;
12 12
 
13
-	public function __construct($identifier,$model,$modelInstance=NULL) {
13
+	public function __construct($identifier, $model, $modelInstance=NULL) {
14 14
 		parent::__construct($identifier);
15 15
 		$this->_template="%wrapContentBefore%%content%%wrapContentAfter%";
16 16
 		$this->setModel($model);
17
-		if(isset($modelInstance));
17
+		if (isset($modelInstance));
18 18
 			$this->show($modelInstance);
19 19
 	}
20 20
 
21
-	public function show($modelInstance){
21
+	public function show($modelInstance) {
22 22
 		$this->_modelInstance=$modelInstance;
23 23
 	}
24 24
 
Please login to merge, or discard this patch.