Completed
Push — master ( 7710e6...19a091 )
by Nazar
04:14
created
components/modules/Blogs/Sections.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 		CRUD,
26 26
 		Singleton;
27 27
 
28
-	protected $data_model          = [
28
+	protected $data_model = [
29 29
 		'id'     => 'int:0',
30 30
 		'parent' => 'int:0',
31 31
 		'title'  => 'ml:text',
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 			$structure['title'] = $L->root_section;
106 106
 			$structure['posts'] = Posts::instance()->get_for_section_count($structure['id']);
107 107
 		}
108
-		$sections              = $this->db()->qfa(
108
+		$sections = $this->db()->qfa(
109 109
 			[
110 110
 				"SELECT
111 111
 					`id`,
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
 				$section['parent']
266 266
 			]
267 267
 		) ?: $section['parent'];
268
-		$update            = $this->db_prime()->q(
268
+		$update = $this->db_prime()->q(
269 269
 			[
270 270
 				"UPDATE `[prefix]blogs_sections`
271 271
 				SET `parent` = '%2\$d'
Please login to merge, or discard this patch.