Prevent trashed web links from being displayed by default

This commit is contained in:
Tuan Pham Ngoc 2021-10-02 11:58:42 +07:00
parent 52406b258a
commit 4d8a5c532d
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class WeblinksModel extends ListModel
}
// Filter by published state
$published = $this->getState('filter.published');
$published = (string) $this->getState('filter.published');
if (is_numeric($published))
{