From 1246415f35b3a45486808d27b0649b373f2740d2 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Sun, 16 Mar 2014 20:38:23 +0100 Subject: Added new constant 'REGISTER_INVITEKEY' --- www/functions/func_select.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/functions/func_select.php') diff --git a/www/functions/func_select.php b/www/functions/func_select.php index 204f2d7..f0dc601 100755 --- a/www/functions/func_select.php +++ b/www/functions/func_select.php @@ -2,9 +2,9 @@ function select($db, $owner){ if($_SESSION["login"] && $_SESSION["userid"] == $owner){ // TODO: Check if loged in user really the user who does the query - fix 12.3.14 - $share=""; + $share=""; // to print all files, even hidden ones } else { - $share ="AND share='PUBLIC'"; + $share ="AND share='PUBLIC'"; // just use files with the correct permissions } if(empty($_GET["folder"])){ -- cgit v1.2.3