Browse code

Newsletter-Modul nur für eingeloggte Kunden

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1977 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 14/04/2011 17:47:53
Showing 2 changed files
... ...
@@ -1,6 +1,7 @@
1 1
 <?php
2 2
 require_once("includes/newsletter.php");
3 3
 require_once("inc/base.php");
4
+require_role(ROLE_CUSTOMER);
4 5
 
5 6
 title("Newsletter");
6 7
 
... ...
@@ -1,6 +1,7 @@
1 1
 <?php
2 2
 require_once("includes/newsletter.php");
3 3
 require_once("inc/base.php");
4
+require_role(ROLE_CUSTOMER);
4 5
 
5 6
 if (! isset($_REQUEST['id'])) {
6 7
   system_failure("Keine ID!");