Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
47ae500a
Commit
47ae500a
authored
Feb 11, 2008
by
Clare Lenihan
Committed by
Clare Lenihan
Feb 11, 2008
Browse files
fixing when invite shows up on profile page
parent
61af8176
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/user/view.php
View file @
47ae500a
...
...
@@ -182,13 +182,13 @@ for ($i = 0; $i < 4; $i++) {
}
$smarty
=
smarty
();
$allusergroups
=
get_associated_groups
(
$userid
);
if
(
$loggedinid
!=
$userid
)
{
// Get the logged in user's "invite only" groups
if
(
$groups
=
get_owned_groups
(
$loggedinid
,
'invite'
))
{
$invitelist
=
array
();
foreach
(
$groups
as
$group
)
{
if
(
array_key_exists
(
$group
->
id
,
$user
assoc
groups
))
{
if
(
array_key_exists
(
$group
->
id
,
$
all
usergroups
))
{
continue
;
}
$invitelist
[
$group
->
id
]
=
$group
->
name
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment