diff options
Diffstat (limited to 'www/functions/func_select.php')
| -rwxr-xr-x | www/functions/func_select.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/functions/func_select.php b/www/functions/func_select.php index 9f10cd6..a6f776d 100755 --- a/www/functions/func_select.php +++ b/www/functions/func_select.php @@ -1,7 +1,7 @@ <?php 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 + if($_SESSION["login"] && $_SESSION["userid"] == $owner){ $share=""; // to print all files, even hidden ones } else { $share =" AND share='PUBLIC'"; // just use files with the correct permissions |
