X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fphotos.inc.php;h=7194e04d0dcf73b7dfacec125559d5704962a0b2;hb=f2c150a0b20f222ddadabe7c0a307b60cec86a54;hp=f65b06c369135de298f59d5ab8c252a1b0c48c37;hpb=532c06cf78d430c5278df7006335df2921fa98d4;p=platal.git diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index f65b06c..7194e04 100644 --- a/include/validations/photos.inc.php +++ b/include/validations/photos.inc.php @@ -141,7 +141,7 @@ class PhotoReq extends Validate XDB::execute('REPLACE INTO photo (uid, attachmime, attach, x, y) VALUES ({?},{?},{?},{?},{?})', $this->user->id(), $this->mimetype, $this->data, $this->x, $this->y); - register_watch_op($this->user->id(), WATCH_FICHE, 'photo'); + register_watch_op($this->user->id(), WATCH_FICHE, '', 'photo'); return true; }