From 193e3691c0729154925641c257df92ddfe95d531 Mon Sep 17 00:00:00 2001 From: NadirRoGue Date: Mon, 18 Apr 2016 16:57:05 +0200 Subject: [PATCH] [Patch] Fix for code type in previous commit --- apps/files/ajax/list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php index d6d7bf850d92..12c2d99338d1 100644 --- a/apps/files/ajax/list.php +++ b/apps/files/ajax/list.php @@ -84,7 +84,7 @@ foreach($shared as $share) { $name = ltrim($share['file_target'], '/'); - if($share['item_type'] === 'folder' && $share['share_type'] !== 3) + if($share['item_type'] === 'folder' && $share['share_type'] !== '3') { $pos = strrpos($name, ' '); $name = substr($name, 0, $pos); @@ -94,7 +94,7 @@ $name = ltrim($name, '.sys.v#.'); } - if(!isset($finalShared[$name]) || (isset($finalShared[$name]) && $finalShared[$name] !== 3)) + if(!isset($finalShared[$name]) || (isset($finalShared[$name]) && $finalShared[$name] !== '3')) { $finalShared[$name] = $share['share_type']; }