aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2016-03-14 15:46:57 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2016-03-14 15:46:57 +0100
commitb8e8517725df6924c333e0c2c7c21a2696de4f25 (patch)
tree16851e62950a75f043756f8d59183937831bc104 /include/attach.php
parentdef04549529d34c6fbe9c7a2396dad7909859953 (diff)
parent2f5862713e2fb959134c2de23ca4ef9907912030 (diff)
downloadvolse-hubzilla-b8e8517725df6924c333e0c2c7c21a2696de4f25.tar.gz
volse-hubzilla-b8e8517725df6924c333e0c2c7c21a2696de4f25.tar.bz2
volse-hubzilla-b8e8517725df6924c333e0c2c7c21a2696de4f25.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)
);