projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not display warning about awaiting validation for non validated medals.
[platal.git]
/
modules
/
profile.php
diff --git
a/modules/profile.php
b/modules/profile.php
index
5988743
..
3e4795b
100644
(file)
--- a/
modules/profile.php
+++ b/
modules/profile.php
@@
-426,8
+426,12
@@
class ProfileModule extends PLModule
{
pl_content_headers("text/html");
$page->changeTpl('profile/deco.medal.tpl', NO_SKIN);
{
pl_content_headers("text/html");
$page->changeTpl('profile/deco.medal.tpl', NO_SKIN);
+ $valid = XDB::fetchOneCell("SELECT NOT FIND_IN_SET('validation', flags)
+ FROM profile_medal_enum
+ WHERE id = {?}",
+ $id);
$page->assign('id', $i);
$page->assign('id', $i);
- $page->assign('medal', array('id' => $id, 'grade' => 0, 'valid' =>
0
));
+ $page->assign('medal', array('id' => $id, 'grade' => 0, 'valid' =>
$valid
));
}
function handler_ajax_job($page, $id, $pid)
}
function handler_ajax_job($page, $id, $pid)