projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a245a3e
)
Ooops
author
Stéphane Jacob
<sj@m4x.org>
Sun, 21 Nov 2010 00:20:40 +0000
(
01:20
+0100)
committer
Sté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
patch
|
blob
|
blame
|
history
diff --git
a/include/validations/photos.inc.php
b/include/validations/photos.inc.php
index
665c5d2
..
21a56b9
100644
(file)
--- 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);