Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion administrator/components/com_finder/src/Indexer/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ protected function getListQuery($query = null)
*
* @param integer $id The plugin ID
*
* @return string The plugin type
* @return string|null The plugin type
*
* @since 2.5
*/
Expand All @@ -644,6 +644,7 @@ protected function getPluginType($id)
$query = $this->db->getQuery(true)
->select($this->db->quoteName('element'))
->from($this->db->quoteName('#__extensions'))
->where($this->db->quoteName('folder') . ' = ' . $this->db->quote('finder'))
->where($this->db->quoteName('extension_id') . ' = ' . (int) $id);
$this->db->setQuery($query);

Expand Down Expand Up @@ -878,6 +879,8 @@ protected function pluginDisable($pks)
foreach ($items as $item) {
$this->remove($item);
}
// Stop processing plugins
break;
}
}
}
Expand Down