Ooops
authorStéphane Jacob <sj@m4x.org>
Sun, 21 Nov 2010 00:20:40 +0000 (01:20 +0100)
committerStéphane Jacob <sj@m4x.org>
Sun, 21 Nov 2010 00:20:40 +0000 (01:20 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/validations/photos.inc.php

index 665c5d2..21a56b9 100644 (file)
@@ -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);