Merge pull request #22130 from dolibit-ut/patch-532

Update intracommreport.php
This commit is contained in:
Laurent Destailleur 2022-09-09 17:18:28 +02:00 committed by GitHub
commit 59a9f55910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,9 +17,9 @@
*/
/**
* \file htdocs/intracommreport/admin/intracommreport.php
* \ingroup intracommreport
* \brief Page to setup the module intracomm report
* \file htdocs/intracommreport/admin/intracommreport.php
* \ingroup intracommreport
* \brief Page to setup the module intracomm report
*/
// Load Dolibarr environment
@ -31,10 +31,12 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
// Load translation files required by the page
$langs->loadLangs(array("admin", "intracommreport"));
// Access Control
if (!$user->admin) {
accessforbidden();
}
// Get Parameters
$action = GETPOST('action', 'aZ09');
// Parameters INTRACOMMREPORT_* and others
@ -82,6 +84,7 @@ if ($action == 'update') {
}
}
/*
* View
*/