diff options
author | redmatrix <git@macgirvin.com> | 2016-03-10 15:43:59 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-10 15:43:59 -0800 |
commit | 32c23ef562fc963c2972c51895b4cfa71743e495 (patch) | |
tree | 64ee3cd7ddca017ac3b33b73668d515d85e2c22c /include/attach.php | |
parent | 107f80892a19f0ccd0cd30a0e3fc5ce3a41829b7 (diff) | |
download | volse-hubzilla-32c23ef562fc963c2972c51895b4cfa71743e495.tar.gz volse-hubzilla-32c23ef562fc963c2972c51895b4cfa71743e495.tar.bz2 volse-hubzilla-32c23ef562fc963c2972c51895b4cfa71743e495.zip |
some minor cleanups
Diffstat (limited to 'include/attach.php')
-rw-r--r-- | include/attach.php | 2 |
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) ); |