X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fprofil%2Fupdate_mentor.inc.php;h=75dc036b131da430dfb7474ef46c38952dc30fdc;hb=509e6025de4089e96f8511032b55c8745919e8d1;hp=b34577eeadba0afef0720f4e1a50e2195c494032;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git diff --git a/include/profil/update_mentor.inc.php b/include/profil/update_mentor.inc.php index b34577e..75dc036 100644 --- a/include/profil/update_mentor.inc.php +++ b/include/profil/update_mentor.inc.php @@ -1,6 +1,6 @@ xdb->execute("REPLACE INTO mentor(uid, expertise) VALUES({?}, {?})", Session::getInt('uid', -1), $mentor_expertise); + XDB::execute("REPLACE INTO mentor(uid, expertise) VALUES({?}, {?})", S::v('uid', -1), $mentor_expertise); }