Completed
Push — master ( ee7cb3...908239 )
by Anthony
02:07
created
app/controller/Article.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 			$dbc = App::getDb();
23 23
 			$nb_article = Blog::getArticleIndex();
24 24
 			
25
-			$query = $dbc->select()->from("_blog_article")->limit(0,$nb_article)->get();
25
+			$query = $dbc->select()->from("_blog_article")->limit(0, $nb_article)->get();
26 26
 			
27 27
 			if ((is_array($query)) && (count($query) > 0)) {
28 28
 				$articles = [];
Please login to merge, or discard this patch.
app/controller/Category.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,9 @@
 block discarded – undo
21 21
 		public function getCategoryArticle($id_article = null) {
22 22
 			$dbc = App::getDb();
23 23
 			
24
-			if ($id_article === null) $id_article = Blog::$parametre_router;
24
+			if ($id_article === null) {
25
+				$id_article = Blog::$parametre_router;
26
+			}
25 27
 			
26 28
 			$query = $dbc->select()
27 29
 				->from("_blog_article")
Please login to merge, or discard this patch.