projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
471882e
)
Fixes group list in profile edition (Closes #1483).
author
Stéphane Jacob
<sj@m4x.org>
Mon, 2 May 2011 13:51:02 +0000
(15:51 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 2 May 2011 13:51:02 +0000
(15:51 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/profile/groups.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/profile/groups.inc.php
b/modules/profile/groups.inc.php
index
0f27bfd
..
f07a06c
100644
(file)
--- a/
modules/profile/groups.inc.php
+++ b/
modules/profile/groups.inc.php
@@
-114,7
+114,7
@@
class ProfilePageGroups extends ProfilePage
FROM groups AS a
INNER JOIN group_members AS m ON (m.asso_id = a.id)
WHERE m.uid = {?} AND (a.cat = 'GroupesX' OR a.cat = 'Institutions')",
- $this->
p
id()));
+ $this->
owner->
id()));
$page->assign('listgroups', XDB::iterator("SELECT a.nom, a.diminutif, a.sub_url,
IF (a.cat = 'Institutions', a.cat, d.nom) AS dom
FROM groups AS a