[svn r16748] fix bug FS#3223 - Groups tool in private mode don't show the wiki tool to group members

skala
Juan Carlos Raña 16 years ago
parent 9c958ef75c
commit 3a8a654af6
  1. 5
      main/wiki/index.php

@ -109,10 +109,9 @@ if ($_SESSION['_gid'] OR $_GET['group_id'])
}
elseif ($group_properties['wiki_state']==2)
{
if (!api_is_allowed_to_edit() and !GroupManager :: is_user_in_group($_user['user_id']))
if (!api_is_allowed_to_edit() and !GroupManager :: is_user_in_group($_user['user_id'], $_SESSION['_gid']))
{
echo api_not_allowed();
echo api_not_allowed();
}
}

Loading…
Cancel
Save