Merge pull request #22130 from dolibit-ut/patch-532
Update intracommreport.php
This commit is contained in:
commit
59a9f55910
@ -17,9 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/intracommreport/admin/intracommreport.php
|
* \file htdocs/intracommreport/admin/intracommreport.php
|
||||||
* \ingroup intracommreport
|
* \ingroup intracommreport
|
||||||
* \brief Page to setup the module intracomm report
|
* \brief Page to setup the module intracomm report
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Load Dolibarr environment
|
// 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
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array("admin", "intracommreport"));
|
$langs->loadLangs(array("admin", "intracommreport"));
|
||||||
|
|
||||||
|
// Access Control
|
||||||
if (!$user->admin) {
|
if (!$user->admin) {
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get Parameters
|
||||||
$action = GETPOST('action', 'aZ09');
|
$action = GETPOST('action', 'aZ09');
|
||||||
|
|
||||||
// Parameters INTRACOMMREPORT_* and others
|
// Parameters INTRACOMMREPORT_* and others
|
||||||
@ -82,6 +84,7 @@ if ($action == 'update') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user