Skip to content

Commit b45017e

Browse files
committed
Default type should be null on news model
1 parent 15ffc85 commit b45017e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/News.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class News extends Model {
1515
public function __construct() {
1616
parent::__construct();
1717
$this->acl_allowed = null;
18-
$this->news_posts = [];
18+
$this->news_posts = null;
1919
$this->pagination = null;
2020
$this->user = null;
2121
$this->user_session = null;

0 commit comments

Comments
 (0)