Version 5.0.0 beta 2
This commit is contained in:
1 parent
15c7beabc5
commit
f61b0da85d
181 files changed
+3182
-1533
No files matched your search
@@ -1663,7 +1663,7 @@ class Categories extends Model implements Permissions
|
||||
*/
|
||||
public function get_display_settings() : ?array
|
||||
{
|
||||
if( $data = json_decode( $this->template_listing, true ) )
|
||||
if( $this->template_listing and $data = json_decode( $this->template_listing, true ) )
|
||||
{
|
||||
return $data;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user