summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorroot2014-03-21 17:48:09 +0100
committerroot2014-03-21 17:48:09 +0100
commit4611b609e81cce6ba1269707ff7f483d285bcec3 (patch)
tree0ae9512d8bbffc97ecf03ad0a2b15571556ae90d /www
parentcd7aeaef26bf05e42e789da6bc4a97118c40d616 (diff)
downloadfiles.iamfabulous.de-4611b609e81cce6ba1269707ff7f483d285bcec3.tar.gz
Now it should work fine.
Diffstat (limited to 'www')
-rwxr-xr-xwww/functions/func_content.php2
-rwxr-xr-xwww/functions/func_select.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/functions/func_content.php b/www/functions/func_content.php
index c750554..e24ea34 100755
--- a/www/functions/func_content.php
+++ b/www/functions/func_content.php
@@ -94,7 +94,7 @@ function print_empty_folder($content){
$wrong_folder = $content[$length-1];
$working_path[0] = $wrong_folder; // initialize empty array
- for($i=0; $i<$length-2, $i++){
+ for($i=0; $i<$length-2; $i++){
$working_path[$i] = $content[$i];
}
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);