aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.php b/start.php
index 2dfe4b7e0..7a31a6ca7 100644
--- a/start.php
+++ b/start.php
@@ -142,7 +142,7 @@ function dokuwiki_init(){
* Add a menu item to an ownerblock
*/
function dokuwiki_owner_block_menu($hook, $type, $return, $params) {
- if (elgg_instanceof($params['entity'], 'group') && $params['entity']->dokuwiki_enable != "no") {
+ if (elgg_instanceof($params['entity'], 'group') && $params['entity']->dokuwiki_enable == "yes") {
$url = "dokuwiki/{$params['entity']->guid}/";
$item = new ElggMenuItem('dokuwiki', elgg_echo('dokuwiki:group'), $url);
$return[] = $item;