summaryrefslogtreecommitdiff
path: root/www/select_function.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/select_function.php')
-rw-r--r--www/select_function.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/select_function.php b/www/select_function.php
index 6e4bc66..0421b58 100644
--- a/www/select_function.php
+++ b/www/select_function.php
@@ -41,7 +41,8 @@ function select($db){
}
$prim_id = $parentdir_db->fetchArray(SQLITE3_NUM);
if($parentdir != $prim_id[1]){
- failure("This folder doesn't exist. Folder: " . $folder_array_unsafe[$i]);
+ $wrong_folder = $folder_array_unsafe[$i];
+ failure("This folder doesn't exist. Folder: " . $wrong_folder);
}
$parentdir = $prim_id[0];