Completed
Push — master ( eb7f5d...c7a943 )
by Jean-Christophe
03:07
created
Ajax/semantic/html/elements/HtmlList.php 1 patch
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,8 +50,9 @@  discard block
 block discarded – undo
50 50
 
51 51
 	protected function getItemToAdd($item){
52 52
 		$itemO=parent::getItemToAdd($item);
53
-		if($itemO instanceof AbstractCheckbox)
54
-			$itemO->addClass("item");
53
+		if($itemO instanceof AbstractCheckbox) {
54
+					$itemO->addClass("item");
55
+		}
55 56
 		return $itemO;
56 57
 	}
57 58
 
@@ -111,7 +112,7 @@  discard block
 block discarded – undo
111 112
 						$masterO->getDataField()->setProperty("checked", "");
112 113
 					}
113 114
 				}
114
-			}else{
115
+			} else{
115 116
 				$masterO=new HtmlFormCheckbox("master-" . $identifier, $masterItem);
116 117
 			}
117 118
 			if($notAllChecked){
Please login to merge, or discard this patch.