30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-01 14:00:51 +00:00

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

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))
{