diff options
author | friendica <info@friendica.com> | 2014-03-17 18:44:01 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-17 18:44:01 -0700 |
commit | aa07edbdd107b512caf5a83d863c9d79a6e46694 (patch) | |
tree | 31d823c0263e6b6c9b173d64ad4b6241433d5d3e /include | |
parent | e7981c8a0348a3d28e0fecfca536ca6f5a8c88d4 (diff) | |
download | volse-hubzilla-aa07edbdd107b512caf5a83d863c9d79a6e46694.tar.gz volse-hubzilla-aa07edbdd107b512caf5a83d863c9d79a6e46694.tar.bz2 volse-hubzilla-aa07edbdd107b512caf5a83d863c9d79a6e46694.zip |
sprintf error
Diffstat (limited to 'include')
-rw-r--r-- | include/reddav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reddav.php b/include/reddav.php index a39a84e21..d6c3d126b 100644 --- a/include/reddav.php +++ b/include/reddav.php @@ -276,7 +276,7 @@ class RedDirectory extends DAV\Node implements DAV\ICollection, DAV\IQuota { for($x = 1; $x < count($path_arr); $x ++) { - $r = q("select id, hash, filename, flags from attach where folder = '%s' and filename = '%s' and (flags & %d)", + $r = q("select id, hash, filename, flags from attach where folder = '%s' and filename = '%s' and uid = %d and (flags & %d)", dbesc($folder), dbesc($path_arr[$x]), intval($channel_id), |