summaryrefslogtreecommitdiff
path: root/www/functions/func_select.php
diff options
context:
space:
mode:
authorroot2014-03-20 14:17:13 +0100
committerroot2014-03-20 14:17:13 +0100
commitfe561fa106699a0a2e8e20633efed855c33f85c6 (patch)
treef81a0cf71304a7bfc311037206c1c5684602b459 /www/functions/func_select.php
parent96757d7ef1294344c2f196346b3d73a3515d7e54 (diff)
downloadfiles.iamfabulous.de-fe561fa106699a0a2e8e20633efed855c33f85c6.tar.gz
First test for download() and delete().
Diffstat (limited to 'www/functions/func_select.php')
-rwxr-xr-xwww/functions/func_select.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/functions/func_select.php b/www/functions/func_select.php
index a720feb..c19efe7 100755
--- a/www/functions/func_select.php
+++ b/www/functions/func_select.php
@@ -24,7 +24,7 @@ function select_file_id($db, $owner, $folder_path){
for($i=0; $i<$length; $i++){
- $parentdir_db = $db->query("SELECT id, parent FROM files WHERE owner=" . $owner . " AND " . $share . " AND parent=" . $parentdir . " AND name='" . SQLite3::escapeString($folder_array_unsafe[$i]) . "';");
+ $parentdir_db = $db->query("SELECT id, parent FROM files WHERE owner=" . $owner . $share . " AND parent=" . $parentdir . " AND name='" . SQLite3::escapeString($folder_array_unsafe[$i]) . "';");
$prim_id = $parentdir_db->fetchArray(SQLITE3_NUM);