aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/include/modules
diff options
context:
space:
mode:
authorM.Gergo2020-03-18 03:21:19 +0100
committerM.Gergo2020-03-18 03:21:19 +0100
commit25b091e6e06862ee7f7631471c47f9cd94a2019f (patch)
tree4466d5a0dae86fcef7e7003743c5b883b0ead4ce /mayor-orig/mayor-naplo/www/include/modules
parent6345ea101955e59386b6b0be0309bd4e84cd98f9 (diff)
downloadmayor-25b091e6e06862ee7f7631471c47f9cd94a2019f.tar.gz
mayor-25b091e6e06862ee7f7631471c47f9cd94a2019f.zip
Rev: 4622rev4622
Diffstat (limited to 'mayor-orig/mayor-naplo/www/include/modules')
-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 {