X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fprofil%2Fupdate_deco.inc.php;h=24eef7308064c9f8e4e4ecba025e2103d25bec58;hb=cab0809050d58f8484608e91f7555ebd69dcb451;hp=8208d5fa27cb96cddb00bba943ade4ee01ca8b8a;hpb=68a269916d88ab4f635de4c96367af1ad82ff135;p=platal.git diff --git a/include/profil/update_deco.inc.php b/include/profil/update_deco.inc.php index 8208d5f..24eef73 100644 --- a/include/profil/update_deco.inc.php +++ b/include/profil/update_deco.inc.php @@ -19,7 +19,7 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -XDB::execute("UPDATE auth_user_quick SET profile_medals_pub = {?} WHERE user_id = {?}", $medals_pub, Session::getInt('uid', -1)); +XDB::execute("UPDATE auth_user_quick SET profile_medals_pub = {?} WHERE user_id = {?}", $medals_pub, S::v('uid', -1)); // vim:set et sws=4 sw=4 sts=4: ?>