Update intracommreport.php

This commit is contained in:
UT from dolibit 2022-09-07 19:48:17 +02:00 committed by GitHub
parent 31fcfc5aa5
commit 1a061b1690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,15 +13,17 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/**
* \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
require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/intracommreport.lib.php';
@ -30,10 +32,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
@ -81,6 +85,7 @@ if ($action == 'update') {
}
}
/*
* View
*/