summaryrefslogtreecommitdiff
path: root/www/functions/func_select.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions/func_select.php')
-rwxr-xr-xwww/functions/func_select.php4
1 files changed, 2 insertions, 2 deletions
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"])){