From 85dce29081a565f7c59efddadc9108adf5d54e5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 21 Nov 2010 01:20:40 +0100 Subject: [PATCH] Ooops MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- include/validations/photos.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.1.4