projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdce9ed
)
Prevents display of Corps when the profile is in none.
author
Stéphane Jacob
<sj@m4x.org>
Sat, 19 Jun 2010 01:19:50 +0000
(
03:19
+0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sat, 19 Jun 2010 01:26:30 +0000
(
03:26
+0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/profilefields.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/profilefields.inc.php
b/include/profilefields.inc.php
index
4f83389
..
ffff5ad
100644
(file)
--- a/
include/profilefields.inc.php
+++ b/
include/profilefields.inc.php
@@
-507,7
+507,7
@@
class ProfileCorps extends ProfileField
LEFT JOIN profile_corps_enum AS pceo ON (pceo.id = pc.original_corpsid)
LEFT JOIN profile_corps_enum AS pcec ON (pcec.id = pc.current_corpsid)
LEFT JOIN profile_corps_rank_enum AS pcrec ON (pcrec.id = pc.rankid)
- WHERE pc.pid IN {?} AND pc.corps_pub IN {?}
+ WHERE pc.pid IN {?} AND pc.corps_pub IN {?}
AND pceo.id != 1
ORDER BY ' . XDB::formatCustomOrder('pid', $pids),
$pids, $visibility->levels());