aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-23 01:16:59 -0700
committerredmatrix <mike@macgirvin.com>2016-09-23 01:16:59 -0700
commit97d472380ff4bc0aedaa461c1a2ea0ff9d26995a (patch)
tree0bc7ea92b6fbe8e37d9ceeda5760fec52bdf3303 /include
parent9ab6029280f9a6c2f29281da928d2f436e2d322d (diff)
downloadvolse-hubzilla-97d472380ff4bc0aedaa461c1a2ea0ff9d26995a.tar.gz
volse-hubzilla-97d472380ff4bc0aedaa461c1a2ea0ff9d26995a.tar.bz2
volse-hubzilla-97d472380ff4bc0aedaa461c1a2ea0ff9d26995a.zip
attach sql issue
Diffstat (limited to 'include')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 9d993a330..f832427bb 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -785,7 +785,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
else {
$r = q("INSERT INTO attach ( aid, uid, hash, creator, filename, filetype, folder, filesize, revision, os_storage, is_photo, content, created, edited, os_path, allow_cid, allow_gid,deny_cid, deny_gid )
- VALUES ( %d, %d, '%s', '%s', '%s', '%s', '%s', %d, %d, %d, %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s' ) ",
+ VALUES ( %d, %d, '%s', '%s', '%s', '%s', '%s', %d, %d, %d, %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s' ) ",
intval($channel['channel_account_id']),
intval($channel_id),
dbesc($hash),