summaryrefslogtreecommitdiff
path: root/www/select_function.php
diff options
context:
space:
mode:
authorHorus32014-03-11 23:34:20 +0100
committerHorus32014-03-11 23:34:20 +0100
commitca3d504428d053e3c344cafdefc7f7836f39dd1c (patch)
treeee60fa2b445f1e4da347ef992cd08886c231f691 /www/select_function.php
parent9ed369355660f41919e9eb0086e73c7589cd0dcf (diff)
downloadfiles.iamfabulous.de-ca3d504428d053e3c344cafdefc7f7836f39dd1c.tar.gz
nginx config with error handling
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];