Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
f44e617d
Commit
f44e617d
authored
Oct 29, 2014
by
Vincent Petry
Browse files
Fix warning with unset extension check
parent
b920f888
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files_sharing/lib/sharedstorage.php
View file @
f44e617d
...
...
@@ -300,7 +300,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
$pathinfo
=
pathinfo
(
$relPath1
);
// for part files we need to ask for the owner and path from the parent directory because
// the file cache doesn't return any results for part files
if
(
$pathinfo
[
'extension'
]
===
'part'
)
{
if
(
isset
(
$pathinfo
[
'extension'
])
&&
$pathinfo
[
'extension'
]
===
'part'
)
{
list
(
$user1
,
$path1
)
=
\
OCA\Files_Sharing\Helper
::
getUidAndFilename
(
$pathinfo
[
'dirname'
]);
$path1
=
$path1
.
'/'
.
$pathinfo
[
'basename'
];
}
else
{
...
...
Write
Preview
Markdown
is supported
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