From aa07edbdd107b512caf5a83d863c9d79a6e46694 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 17 Mar 2014 18:44:01 -0700 Subject: sprintf error --- include/reddav.php | 2 +- version.inc | 2 +- 2 files changed, 2 insertions(+), 2 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), diff --git a/version.inc b/version.inc index 68de25a9b..57151d089 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2014-03-16.618 +2014-03-17.619 -- cgit v1.2.3