Passed
Push — master ( d2bb28...8a1794 )
by Anthony
02:48
created
core/admin/contenus/GestionContenus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 
130 130
 					$dbc->prepare("INSERT INTO page (titre, contenu, url, meta_description, balise_title, ordre, parent, affiche) VALUES (:titre, :contenu, :url, :meta_description, :balise_title, :ordre, :parent, :affiche)", $value);
131 131
 					$this->id_page = $dbc->lastInsertId();
132
-					$this->setAjoutLienNavigation("ID_page", $this->id_page , 1);
132
+					$this->setAjoutLienNavigation("ID_page", $this->id_page, 1);
133 133
 				}
134 134
 				else {
135 135
 					FlashMessage::setFlash("Impossible de créer cette page, veuillez réeseyer dans un moment. Si le problème persiste contactez votre administrateur.");
Please login to merge, or discard this patch.
core/Navigation.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
 			if (is_array($query) && (count($query) > 0)) {
52 52
 				foreach ($query as $obj) {
53
-					return [$obj->titre,$obj->url];
53
+					return [$obj->titre, $obj->url];
54 54
 				}
55 55
 			}
56 56
 		}
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
 			if (is_array($query) && (count($query) > 0)) {
71 71
 				foreach ($query as $obj) {
72
-					return [$obj->nom_module,$obj->url];
72
+					return [$obj->nom_module, $obj->url];
73 73
 				}
74 74
 			}
75 75
 		}
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 			$dbc = App::getDb();
87 87
 
88 88
 			if ($afficher != null) {
89
-				$dbc->insert($id, $value_id)->insert("ordre", $this->last_ordre+1)->into("navigation")->set();
89
+				$dbc->insert($id, $value_id)->insert("ordre", $this->last_ordre + 1)->into("navigation")->set();
90 90
 			}
91 91
 		}
92 92
 
Please login to merge, or discard this patch.