sprintf error

This commit is contained in:
friendica 2014-03-17 18:44:01 -07:00
parent e7981c8a03
commit aa07edbdd1
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -1 +1 @@
2014-03-16.618
2014-03-17.619