Completed
Push — master ( 6b0b10...70fa7e )
by Anthony
04:23
created
admin/controller/AdminCategory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 			
49 49
 			$count = count($categories);
50 50
 			if ((is_array($categories)) && ($count > 0)) {
51
-				for ($i=0 ; $i<$count ; $i++) {
51
+				for ($i = 0; $i < $count; $i++) {
52 52
 					if ($this->getTestCategoryExist($categories[$i]) != false) {
53 53
 						$dbc->insert("ID_category", $this->getTestCategoryExist($categories[$i]))->insert("ID_article", $id_article)->into("_blog_article_category")->set();
54 54
 					}
Please login to merge, or discard this patch.
admin/controller/AdminArticle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 		 * @return bool
25 25
 		 * function that verify if title of the article is ok
26 26
 		 */
27
-		private function getTestTitle($title, $id_article=null) {
27
+		private function getTestTitle($title, $id_article = null) {
28 28
 			$dbc = App::getDb();
29 29
 			
30 30
 			if (ChaineCaractere::testMinLenght($title, 4) == false) {
Please login to merge, or discard this patch.