1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

exclude amount of posts from display if plugin is not installed

This commit is contained in:
Lóna Lore
2015-02-20 12:12:13 +01:00
parent 6aee69e5e7
commit 5b8d3c10da

View File

@@ -18,7 +18,7 @@ class chatbox_menu_user // plugin-folder + '_user'
{
$pref = e107::getPref();
if (!$pref['cb_user_addon'])
if(!e107::isInstalled("chatbox_menu") || !$pref['cb_user_addon'])
{
return array();
}