Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
775cfb8c
Commit
775cfb8c
authored
Nov 29, 2020
by
Mario
Browse files
we also need the folder
parent
d6ac3fc7
Pipeline
#367435
passed with stage
in 3 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Zotlabs/Storage/Browser.php
View file @
775cfb8c
...
...
@@ -214,7 +214,7 @@ class Browser extends DAV\Browser\Plugin {
$photo_icon
=
''
;
$preview_style
=
intval
(
get_config
(
'system'
,
'thumbnail_security'
,
0
));
$r
=
q
(
"SELECT content, creator, hash, revision, allow_cid, allow_gid, deny_cid, deny_gid FROM attach WHERE hash = '%s' AND uid = %d"
,
$r
=
q
(
"SELECT content, creator, hash, revision,
folder,
allow_cid, allow_gid, deny_cid, deny_gid FROM attach WHERE hash = '%s' AND uid = %d"
,
dbesc
(
$attachHash
),
intval
(
$owner
)
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment