From c8fb979ed86403bc38baaf92c90f299434b25fdf Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Tue, 18 Mar 2014 02:43:36 +0000 Subject: oops --- include/reddav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/reddav.php b/include/reddav.php index c65cb569b..1047bdc9e 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 uid = '%d' 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), -- cgit v1.2.3