From 1bac9fb26871737b6481b0c18562f8bb5c7bbbdb Mon Sep 17 00:00:00 2001 From: Beanow Date: Tue, 1 Jul 2014 22:30:52 +0200 Subject: [PATCH] Better permission handling. --- mod/import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/import.php b/mod/import.php index b5e09c0f..af95aba7 100644 --- a/mod/import.php +++ b/mod/import.php @@ -5,7 +5,7 @@ function import_init(&$a) if(! $_SESSION['uid']) { notice("Permission denied."); - return; + goaway($a->get_baseurl()); } }