From 6338aa278c8afb15c2bb9179a4dd02f3ae44b077 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 10 Feb 2010 10:54:06 +0000
Subject: [PATCH] Fixed: FS#1067 - Webmail link does not work when there are no
 persmissions for sites module

---
 interface/web/mail/webmailer.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/web/mail/webmailer.php b/interface/web/mail/webmailer.php
index eb4207db3..e731992bc 100644
--- a/interface/web/mail/webmailer.php
+++ b/interface/web/mail/webmailer.php
@@ -32,7 +32,7 @@ require_once('../../lib/config.inc.php');
 require_once('../../lib/app.inc.php');
 
 //* Check permissions for module
-$app->auth->check_module_permissions('sites');
+$app->auth->check_module_permissions('mail');
 
 /* get the id of the mail (must be int!) */
 if (!isset($_GET['id'])){
-- 
GitLab