summaryrefslogtreecommitdiff
path: root/www/functions/func_select.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions/func_select.php')
-rwxr-xr-xwww/functions/func_select.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/functions/func_select.php b/www/functions/func_select.php
index a6f776d..d9db159 100755
--- a/www/functions/func_select.php
+++ b/www/functions/func_select.php
@@ -13,7 +13,9 @@ function select_file_id($db, $owner, $folder_path){
$root_ar = $root_db->fetchArray(SQLITE3_NUM);
$root_id = $root_ar[0];
if(empty($root_ar[0])){
- failure("Seems like the user doesn't want to show his tree: " . $root_id);
+ $_GET["e"]="user";
+ include("httperror.php");
+ exit;
}
$tmp_length = count($folder_array_unsafe);