diff options
| author | Horus3 | 2014-04-20 16:05:53 +0200 |
|---|---|---|
| committer | Horus3 | 2014-04-20 16:05:53 +0200 |
| commit | 7b3427b4278817df9443ae0de057e50b544d919f (patch) | |
| tree | 1c5a6779624890c94bf0f6a7431e87e2eab228e4 /www/functions/func_select.php | |
| parent | 0a28d7fe6ddebdc74a343574a38f3bb646a7ddd5 (diff) | |
| download | files.iamfabulous.de-7b3427b4278817df9443ae0de057e50b544d919f.tar.gz | |
Error handling in class_file and more methods.
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 |
