Commit eaa0099b authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Only show active search plugins in site options drop-down


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 51a7c4b0
......@@ -471,7 +471,7 @@ function get_portfolio_items_by_tag($tag, $owner, $limit, $offset, $sort='name',
function get_search_plugins() {
$searchpluginoptions = array();
if ($searchplugins = get_records_array('search_installed')) {
if ($searchplugins = plugins_installed('search')) {
foreach ($searchplugins as $plugin) {
$searchpluginoptions[$plugin->name] = $plugin->name;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment