Fixed the filter array checking in the getStoredId method.

This commit is contained in:
2020-12-10 06:16:01 +02:00
parent 029c3f423e
commit 360c61f5da
49 changed files with 635 additions and 80 deletions

View File

@ -450,7 +450,17 @@ class ComponentbuilderModelLanguage_translations extends JModelList
$id .= ':' . $this->getState('filter.id');
$id .= ':' . $this->getState('filter.search');
$id .= ':' . $this->getState('filter.published');
$id .= ':' . $this->getState('filter.access');
// Check if the value is an array
$_filter = $this->getState('filter.access');
if (ComponentbuilderHelper::checkArray($_filter))
{
$id .= ':' . implode(':', $_filter);
}
// This should not happen, but we try
elseif (is_numeric($_filter))
{
$id .= ':' . $_filter;
}
$id .= ':' . $this->getState('filter.ordering');
$id .= ':' . $this->getState('filter.created_by');
$id .= ':' . $this->getState('filter.modified_by');