projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of /home/git/platal into profile_edit
[platal.git]
/
modules
/
profile
/
get_deco.inc.php
diff --git
a/modules/profile/get_deco.inc.php
b/modules/profile/get_deco.inc.php
index
011873f
..
f0e658c
100644
(file)
--- a/
modules/profile/get_deco.inc.php
+++ b/
modules/profile/get_deco.inc.php
@@
-41,7
+41,7
@@
if (Post::has('grade')) {
foreach (Post::v('grade') as $mid=>$gid) {
XDB::execute('UPDATE profile_medals_sub SET gid={?} WHERE uid={?} AND mid={?}', $gid, S::v('uid'), $mid);
}
-}
+}
$res = XDB::query(
"SELECT m.id, m.text AS medal, m.type, m.img, s.gid