File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
administrator/components/com_finder/src/Indexer Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -634,7 +634,7 @@ protected function getListQuery($query = null)
634634 *
635635 * @param integer $id The plugin ID
636636 *
637- * @return string The plugin type
637+ * @return string|null The plugin type
638638 *
639639 * @since 2.5
640640 */
@@ -644,6 +644,7 @@ protected function getPluginType($id)
644644 $ query = $ this ->db ->getQuery (true )
645645 ->select ($ this ->db ->quoteName ('element ' ))
646646 ->from ($ this ->db ->quoteName ('#__extensions ' ))
647+ ->where ($ this ->db ->quoteName ('folder ' ) . ' = ' . $ this ->db ->quote ('finder ' ))
647648 ->where ($ this ->db ->quoteName ('extension_id ' ) . ' = ' . (int ) $ id );
648649 $ this ->db ->setQuery ($ query );
649650
@@ -878,6 +879,8 @@ protected function pluginDisable($pks)
878879 foreach ($ items as $ item ) {
879880 $ this ->remove ($ item );
880881 }
882+ // Stop processing plugins
883+ break ;
881884 }
882885 }
883886 }
You can’t perform that action at this time.
0 commit comments