aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/attach.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 28aa14ec6..449721793 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -348,7 +348,6 @@ function attach_can_view($uid, $ob_hash, $resource, $token = EMPTY_STR) {
$sql_extra = permissions_sql($uid, $ob_hash, '', $token);
-
$r = q("select folder from attach where hash = '%s' and uid = %d $sql_extra",
dbesc($resource),
intval($uid)