Merge pull request #21966 from dolibit-ut/patch-477

Update index.php
This commit is contained in:
Laurent Destailleur 2022-09-03 11:44:51 +02:00 committed by GitHub
commit 9693587780
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,8 @@
* \brief Main page of accountancy area
*/
// Load Dolibarr environment
require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
@ -54,6 +56,7 @@ if (isModEnabled('commande')) {
$langs->load("orders");
}
// Get parameters
$action = GETPOST('action', 'aZ09');
$bid = GETPOST('bid', 'int');