From 4611b609e81cce6ba1269707ff7f483d285bcec3 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Mar 2014 17:48:09 +0100 Subject: Now it should work fine. --- www/functions/func_select.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/functions/func_select.php') diff --git a/www/functions/func_select.php b/www/functions/func_select.php index c19efe7..af7b239 100755 --- a/www/functions/func_select.php +++ b/www/functions/func_select.php @@ -4,7 +4,7 @@ function select_file_id($db, $owner, $folder_path){ if($_SESSION["login"] && $_SESSION["userid"] == $owner){ // TODO: Check if loged in user really the user who does the query - fix 12.3.14 $share=""; // to print all files, even hidden ones } else { - $share ="AND share='PUBLIC'"; // just use files with the correct permissions + $share =" AND share='PUBLIC'"; // just use files with the correct permissions } $folder_array_unsafe = explode("/",$folder_path); -- cgit v1.2.3