X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fprofil%2Fupdate_deco.inc.php;h=24eef7308064c9f8e4e4ecba025e2103d25bec58;hb=4e2929c6e6e7e5e175719a007a79598952bd9023;hp=4437936819e374b1288e89df90d6d088022ce22d;hpb=50a40a33a496131e817df875607ea5542d096a64;p=platal.git diff --git a/include/profil/update_deco.inc.php b/include/profil/update_deco.inc.php index 4437936..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 * ***************************************************************************/ -$globals->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: ?>