summaryrefslogtreecommitdiff
path: root/www/functions/func_content.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions/func_content.php')
-rwxr-xr-xwww/functions/func_content.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/functions/func_content.php b/www/functions/func_content.php
index 853adc1..75ce4f7 100755
--- a/www/functions/func_content.php
+++ b/www/functions/func_content.php
@@ -4,7 +4,9 @@ function collect_content($db,$username, $folder_path){
$owner = user_id($db, $username);
if(!$owner){
- failure("This user doesn't exist!");
+ $_GET["e"]="user";
+ include("httperror.php");
+ exit;
}
$file_id = select_file_id($db, $owner, $folder_path);