aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/include
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/mayor-naplo/www/include')
-rw-r--r--mayor-orig/mayor-naplo/www/include/modules/naplo/base/rights.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mayor-orig/mayor-naplo/www/include/modules/naplo/base/rights.php b/mayor-orig/mayor-naplo/www/include/modules/naplo/base/rights.php
index fd538da0..a0377a17 100644
--- a/mayor-orig/mayor-naplo/www/include/modules/naplo/base/rights.php
+++ b/mayor-orig/mayor-naplo/www/include/modules/naplo/base/rights.php
@@ -434,6 +434,7 @@ if (__NAPLO_INSTALLED === true) {
} elseif (defined('__PARENTDIAKID')) {
define('__USERDIAKID',__PARENTDIAKID);
define('__USERSZULOID', getSzuloIdByUserAccount(("$page/$sub/$f" != 'naplo//diakValaszto')));
+// } elseif (_POLICY === 'parent') {
} elseif ("$page/$sub/$f" != 'naplo//diakValaszto') {
header('Location: '.location('index.php?page=naplo&f=diakValaszto'));
} else {