From e1358932d5f81e72b50b8a1cf22f4b4d1f0cff5f Mon Sep 17 00:00:00 2001
From: jmontoya <jmontoya@ispconfig3>
Date: Fri, 06 Aug 2010 05:59:56 -0400
Subject: [PATCH] Adding the remoting::mail_domain_get_by_domain function

---
 interface/web/mail/webmailer.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/mail/webmailer.php b/interface/web/mail/webmailer.php
index eb4207d..e731992 100644
--- a/interface/web/mail/webmailer.php
+++ b/interface/web/mail/webmailer.php
@@ -32,7 +32,7 @@
 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'])){

--
Gitblit v1.9.1