Fix empty date in profile edition notification.
[platal.git] / include / validations / photos.inc.php
index b2fc0a1..0f2d109 100644 (file)
@@ -141,7 +141,7 @@ class PhotoReq extends Validate
         XDB::execute('REPLACE INTO  photo (uid, attachmime, attach, x, y)
                             VALUES  ({?},{?},{?},{?},{?})',
                      $this->uid, $this->mimetype, $this->data, $this->x, $this->y);
-        register_watch_op($this->uid, WATCH_FICHE, 'photo');
+        register_watch_op($this->uid, WATCH_FICHE, '', 'photo');
         return true;
     }