From: Stéphane Jacob Date: Sun, 21 Nov 2010 00:20:40 +0000 (+0100) Subject: Ooops X-Git-Tag: xorg/1.0.2~134 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=85dce29081a565f7c59efddadc9108adf5d54e5a;p=platal.git Ooops Signed-off-by: Stéphane Jacob --- diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index 665c5d2..21a56b9 100644 --- a/include/validations/photos.inc.php +++ b/include/validations/photos.inc.php @@ -139,7 +139,7 @@ class PhotoReq extends ProfileValidate { XDB::execute('INSERT INTO profile_photos (pid, attachmime, attach, x, y) VALUES ({?}, {?}, {?}, {?}, {?}) - ON DUPLICATE KEY UPDATE attachmime = VALUES(attachmime), attach = VALUES(attach) + ON DUPLICATE KEY UPDATE attachmime = VALUES(attachmime), attach = VALUES(attach), x = VALUES(x), y = VALUES(y)', $this->profile->id(), $this->mimetype, $this->data, $this->x, $this->y);