aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-13 21:19:33 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-13 21:19:33 +0100
commita8d5c832515581ef1f2c128e43c03b77d3151014 (patch)
treed086123b9fa1539f9bdb305285aeb897a2c2eb60 /include/attach.php
parent370a007ee215d2889d9bf760b0247678c08d31ac (diff)
parent7747a23a7895bfa2aac0b95604ea42dab6630079 (diff)
downloadvolse-hubzilla-a8d5c832515581ef1f2c128e43c03b77d3151014.tar.gz
volse-hubzilla-a8d5c832515581ef1f2c128e43c03b77d3151014.tar.bz2
volse-hubzilla-a8d5c832515581ef1f2c128e43c03b77d3151014.zip
Merge branch 'master' of https://github.com/redmatrix/hubzilla
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 2777b5813..343922a52 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -846,7 +846,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
// Caution: This re-uses $sql_options set further above
- $r = q("select id, aid, uid, hash, creator, filename, filetype, filesize, revision, folder, os_storage, is_photo, flags, created, edited, allow_cid, allow_gid, deny_cid, deny_gid from attach where uid = %d and hash = '%s' $sql_options limit 1",
+ $r = q("select * from attach where uid = %d and hash = '%s' $sql_options limit 1",
intval($channel_id),
dbesc($hash)
);