From 9e1b66f564659de67f8eb6c44b12ef0050c31970 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 22 Sep 2014 20:28:25 +0200 Subject: fixed bugs --- public_html/class/vfsdata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public_html/class/vfsdata.php') diff --git a/public_html/class/vfsdata.php b/public_html/class/vfsdata.php index 92d9745..05fced6 100644 --- a/public_html/class/vfsdata.php +++ b/public_html/class/vfsdata.php @@ -62,7 +62,7 @@ class vfsdata { $length = $tmp_length; - for ( $i=0; $i<$length, $i++ ) { + for ( $i=0; $i<$length; $i++ ) { $sql = $vfsdb->prepare("SELECT id, parent FROM files WHERE owner = %d AND parent = %d AND name = %s " . $visibility . ";", $this->userid, $parentdir, $folder[$i]); $parentdir_db = $vfsdb->doQuery($sql); -- cgit v1.2.3