Passed
Push — master ( e0b597...f1cdd9 )
by Anthony
02:43
created
core/admin/contenus/GestionContenus.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,9 @@
 block discarded – undo
60 60
 		private function getParentId($parent) {
61 61
 			$dbc = \core\App::getDb();
62 62
 
63
-			if ($parent == "") return 0;
63
+			if ($parent == "") {
64
+				return 0;
65
+			}
64 66
 
65 67
 			$query = $dbc->select("ID_page")->from("page")->where("titre", " LIKE ", '"%'.$parent.'%"', "", true)->get();
66 68
 
Please login to merge, or discard this patch.