@@ -48,7 +48,7 @@ |
||
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 | } |
@@ -24,7 +24,7 @@ |
||
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) { |