diff options
author | Sem <sembrestels@riseup.net> | 2011-10-17 11:51:42 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2011-10-17 11:51:42 +0200 |
commit | 22580e31861a8811338e8d31af47dcf67a4ac29a (patch) | |
tree | 86f3868525da0fd9557c97327305bbba96e81cce | |
parent | 91fe6103304b175ecde69d356cda25ec957f8a9a (diff) | |
download | elgg-22580e31861a8811338e8d31af47dcf67a4ac29a.tar.gz elgg-22580e31861a8811338e8d31af47dcf67a4ac29a.tar.bz2 |
Group menu fixed: wiki link only appears when group wiki is enabled.
-rw-r--r-- | start.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |