Fix shared status for files inside a shared folder
This commit is contained in:
parent
dc641943d9
commit
9e50cecf27
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ $source = dirname($source);
|
||||||
while ($source != "" && $source != "/" && $source != "." && $source != $userDirectory) {
|
while ($source != "" && $source != "/" && $source != "." && $source != $userDirectory) {
|
||||||
if ($values = OC_Share::getMySharedItem($source)) {
|
if ($values = OC_Share::getMySharedItem($source)) {
|
||||||
$values = array_values($values);
|
$values = array_values($values);
|
||||||
|
$users = array();
|
||||||
$parentUsers = array();
|
$parentUsers = array();
|
||||||
for ($i = 0; $i < count($values); $i++) {
|
for ($i = 0; $i < count($values); $i++) {
|
||||||
if ($values[$i]['uid_shared_with'] == OC_Share::PUBLICLINK) {
|
if ($values[$i]['uid_shared_with'] == OC_Share::PUBLICLINK) {
|
||||||
|
|
Loading…
Reference in a new issue