From b97b391cdd12ec62931c2a825ed4c70478ec5db0 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 9 Feb 2011 00:30:35 +0000 Subject: Refs #2874: Using elgg_is_active_plugin() in core and bundled plugins. git-svn-id: http://code.elgg.org/elgg/trunk@8082 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/input.php') diff --git a/engine/lib/input.php b/engine/lib/input.php index 624c6111e..db43f9a24 100644 --- a/engine/lib/input.php +++ b/engine/lib/input.php @@ -275,7 +275,7 @@ function input_livesearch_page_handler($page) { case 'groups': // don't return results if groups aren't enabled. - if (!is_plugin_enabled('groups')) { + if (!elgg_is_active_plugin('groups')) { continue; } $query = "SELECT * FROM {$CONFIG->dbprefix}groups_entity as ge, {$CONFIG->dbprefix}entities as e -- cgit v1.2.3