@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | CRUD_helpers, |
| 24 | 24 | Singleton; |
| 25 | 25 | |
| 26 | - protected $data_model = [ |
|
| 26 | + protected $data_model = [ |
|
| 27 | 27 | 'id' => 'int:0', |
| 28 | 28 | 'parent' => 'int:0', |
| 29 | 29 | 'title' => 'ml:text', |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | LIMIT 1", |
| 196 | 196 | $section['parent'] |
| 197 | 197 | ) ?: $section['parent']; |
| 198 | - $update = $this->db_prime()->q( |
|
| 198 | + $update = $this->db_prime()->q( |
|
| 199 | 199 | [ |
| 200 | 200 | "UPDATE `[prefix]blogs_sections` |
| 201 | 201 | SET `parent` = '%2\$d' |