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

@ -679,12 +679,32 @@ class ComponentbuilderModelAdmin_views 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');
$id .= ':' . $this->getState('filter.add_fadein');
$id .= ':' . $this->getState('filter.type');
// Check if the value is an array
$_type = $this->getState('filter.type');
if (ComponentbuilderHelper::checkArray($_type))
{
$id .= ':' . implode(':', $_type);
}
// This should not happen, but we try
elseif (is_numeric($_type))
{
$id .= ':' . $_type;
}
$id .= ':' . $this->getState('filter.add_custom_button');
$id .= ':' . $this->getState('filter.add_php_ajax');
$id .= ':' . $this->getState('filter.add_custom_import');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelAdmins_custom_tabs 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelAdmins_fields 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelAdmins_fields_conditions 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelAdmins_fields_relations 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');

View File

@ -284,7 +284,17 @@ class ComponentbuilderModelClass_extendings 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');

View File

@ -457,7 +457,17 @@ class ComponentbuilderModelClass_methods 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');

View File

@ -455,7 +455,17 @@ class ComponentbuilderModelClass_properties 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_admin_views 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_config 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_custom_admin_menus 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_custom_admin_views 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_dashboard 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_files_folders 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_modules 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_mysql_tweaks 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_placeholders 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_plugins 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_site_views 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelComponents_updates 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');

View File

@ -513,7 +513,17 @@ class ComponentbuilderModelCustom_admin_views 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');

View File

@ -549,7 +549,17 @@ class ComponentbuilderModelCustom_codes 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');

View File

@ -464,7 +464,17 @@ class ComponentbuilderModelDynamic_gets 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');

View File

@ -632,7 +632,17 @@ class ComponentbuilderModelFields 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');

View File

@ -393,7 +393,17 @@ class ComponentbuilderModelFieldtypes 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');

View File

@ -2511,7 +2511,17 @@ class ComponentbuilderModelJoomla_components 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');

View File

@ -290,7 +290,17 @@ class ComponentbuilderModelJoomla_modules 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelJoomla_modules_files_folders_urls 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelJoomla_modules_updates 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');

View File

@ -231,7 +231,17 @@ class ComponentbuilderModelJoomla_plugin_groups 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');

View File

@ -451,7 +451,17 @@ class ComponentbuilderModelJoomla_plugins 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelJoomla_plugins_files_folders_urls 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelJoomla_plugins_updates 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');

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');

View File

@ -476,7 +476,17 @@ class ComponentbuilderModelLanguages 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');

View File

@ -445,7 +445,17 @@ class ComponentbuilderModelLayouts 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');

View File

@ -377,7 +377,17 @@ class ComponentbuilderModelLibraries 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelLibraries_config 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');

View File

@ -204,7 +204,17 @@ class ComponentbuilderModelLibraries_files_folders_urls 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');

View File

@ -357,7 +357,17 @@ class ComponentbuilderModelPlaceholders 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');

View File

@ -472,7 +472,17 @@ class ComponentbuilderModelServers 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');

View File

@ -521,7 +521,17 @@ class ComponentbuilderModelSite_views 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');

View File

@ -231,7 +231,17 @@ class ComponentbuilderModelSnippet_types 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');

View File

@ -535,7 +535,17 @@ class ComponentbuilderModelSnippets 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');

View File

@ -445,7 +445,17 @@ class ComponentbuilderModelTemplates 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');

View File

@ -355,7 +355,17 @@ class ComponentbuilderModelValidation_rules 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');