diff options
Diffstat (limited to 'mayor-orig/www/include/modules/naplo/base')
-rw-r--r-- | mayor-orig/www/include/modules/naplo/base/rights.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mayor-orig/www/include/modules/naplo/base/rights.php b/mayor-orig/www/include/modules/naplo/base/rights.php index 61a3f2a6..c84853a3 100644 --- a/mayor-orig/www/include/modules/naplo/base/rights.php +++ b/mayor-orig/www/include/modules/naplo/base/rights.php @@ -82,9 +82,9 @@ if ($_TANEV['statusz'] == 'aktív') { checkNaploStatus(); - if (__FOLYO_TANEV) + if (__FOLYO_TANEV === true) if (__MUNKATERV_OK && __ORAREND_OK && __TANKOROK_OK) checkNaplo(date('Y-m-d')); - else $_SESSION['alert'][]= 'info:checkNaploFailed:orarend-'.((__ORAREND_OK)?'ok':'!').':tankorok-'.((__TANKOROK_OK)?'ok':'!'); + else $_SESSION['alert'][]= 'info:checkNaploFailed:Tanév:'.($_TANEV['tanev']).':Részletek '.((__MUNKATERV_OK)?'munkaterv ok':'#chknaplo1 nincs munkaterv!').':'.((__ORAREND_OK)?'órarend ok':'#chknaplo2 nincs órarend!').':'.((__TANKOROK_OK)?'órarend-tankörök ok':'#chknaplo3 órarendi óra tankör összerendezési hiány!'); } } |