@@ -25,7 +25,7 @@ discard block |
||
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 |
||
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 |
||
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' |