diff options
| author | Horus3 | 2014-03-27 00:22:55 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-27 00:22:55 +0100 |
| commit | 768f0f6a1ec5aaaa576fdc1bd283973a8a5ffc89 (patch) | |
| tree | 59ff3df5c42af9e05ca6e7607326057f991d9336 /www/functions/func_select.php | |
| parent | cb74ce9e9702677225102fc06b5adda8ce692cdc (diff) | |
| download | files.iamfabulous.de-768f0f6a1ec5aaaa576fdc1bd283973a8a5ffc89.tar.gz | |
Fixed upload();
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 ae76121..9f10cd6 100755 --- a/www/functions/func_select.php +++ b/www/functions/func_select.php @@ -32,7 +32,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 . $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]) . "' COLLATE NOCASE;"); $prim_id = $parentdir_db->fetchArray(SQLITE3_NUM); |
