From d508daebb9e5ef00235efaf5ab1fdd8ce5b622dc Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Tue, 29 Jul 2008 14:56:48 +0200 Subject: [PATCH] Fix empty date in profile edition notification. Signed-off-by: Florent Bruneau --- include/validations/medals.inc.php | 2 +- include/validations/nomusage.inc.php | 2 +- include/validations/photos.inc.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/validations/medals.inc.php b/include/validations/medals.inc.php index 98d14d2..599ba21 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->uid, WATCH_FICHE, 'medals'); + register_watch_op($this->uid, WATCH_FICHE, '', 'medals'); return XDB::execute('REPLACE INTO profile_medals_sub VALUES ({?}, {?}, {?})', $this->uid, $this->mid, $this->gid); diff --git a/include/validations/nomusage.inc.php b/include/validations/nomusage.inc.php index 952c0c1..a5ba225 100644 --- a/include/validations/nomusage.inc.php +++ b/include/validations/nomusage.inc.php @@ -111,7 +111,7 @@ class UsageReq extends Validate public function commit() { require_once 'notifs.inc.php'; - register_watch_op($this->uid, WATCH_FICHE, 'nom'); + register_watch_op($this->uid, WATCH_FICHE, '', 'nom'); require_once('user.func.inc.php'); $this->bestalias = set_new_usage($this->uid, $this->nom_usage, $this->alias); return true; diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index b2fc0a1..0f2d109 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->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; } -- 2.1.4