X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fmedals.inc.php;h=a2a5dc14cf9479f14baf74bb5f6ffca5813fe428;hb=805f3d1679a53bb04fff34619c171a1381068612;hp=498ee493393924e8798a0627e1adcc32f446324b;hpb=65bb090e3f874f94b1dac69c66a44de581140100;p=platal.git diff --git a/include/validations/medals.inc.php b/include/validations/medals.inc.php index 498ee49..a2a5dc1 100644 --- a/include/validations/medals.inc.php +++ b/include/validations/medals.inc.php @@ -101,7 +101,7 @@ class MedalReq extends Validate public function commit () { require_once 'notifs.inc.php'; - register_watch_op($this->user->id(), WATCH_FICHE, 'medals'); + register_watch_op($this->user->id(), WATCH_FICHE, '', 'medals'); return XDB::execute('REPLACE INTO profile_medals_sub VALUES ({?}, {?}, {?})', $this->user->id(), $this->mid, $this->gid);