summaryrefslogtreecommitdiffstats
path: root/modules/news.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/news.inc.php')
-rw-r--r--modules/news.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/news.inc.php b/modules/news.inc.php
index e5be99ac..fc5c1892 100644
--- a/modules/news.inc.php
+++ b/modules/news.inc.php
@@ -30,7 +30,7 @@ class Page_News extends Page
// only admins should be able to edit news
if (!User::hasPermission('superadmin')) {
Message::addError('no-permission');
- return;
+ Util::redirect('?do=Main');
}
// check which action we need to do