aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-18 22:07:38 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-18 22:07:38 -0700
commitc11b1f8b0dc1a1a9788be2d0a2efc16ef13bb849 (patch)
treeb5cccf29131fb3aacddb1eb69d753f7869a14f60
parente521da05da8c1d02d72edb76e66de2ff6308c466 (diff)
downloadvolse-hubzilla-c11b1f8b0dc1a1a9788be2d0a2efc16ef13bb849.tar.gz
volse-hubzilla-c11b1f8b0dc1a1a9788be2d0a2efc16ef13bb849.tar.bz2
volse-hubzilla-c11b1f8b0dc1a1a9788be2d0a2efc16ef13bb849.zip
vsprintf error
-rw-r--r--include/photo/photo_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photo/photo_driver.php b/include/photo/photo_driver.php
index 77df66436..1ec031a1a 100644
--- a/include/photo/photo_driver.php
+++ b/include/photo/photo_driver.php
@@ -371,7 +371,7 @@ abstract class photo_driver {
else {
$r = q("INSERT INTO `photo`
( `aid`, `uid`, `xchan`, `resource_id`, `created`, `edited`, `filename`, type, `album`, `height`, `width`, `data`, `size`, `scale`, `photo_usage`, `title`, `description`, `allow_cid`, `allow_gid`, `deny_cid`, `deny_gid` )
- VALUES ( %d, %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, '%s', %d, %d, %d, %d, '%s', '%s', '%s', '%s', '%s', '%s' )",
+ VALUES ( %d, %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, '%s', %d, %d, %d, '%s', '%s', '%s', '%s', '%s', '%s' )",
intval($p['aid']),
intval($p['uid']),
dbesc($p['xchan']),