commit
42483fa08e
2 changed files with 7 additions and 3 deletions
|
|
@ -91,7 +91,9 @@ function llxFooter($comment = '', $zone = 'private', $disabledoutputofmessages =
|
|||
|
||||
// Load Dolibarr environment
|
||||
require '../../main.inc.php';
|
||||
|
||||
/**
|
||||
* @var DoliDB $db
|
||||
*/
|
||||
$mtid = GETPOST('mtid');
|
||||
$email = GETPOST('email');
|
||||
$tag = GETPOST('tag');
|
||||
|
|
|
|||
|
|
@ -56,8 +56,10 @@ if (! defined('NOREQUIREAJAX')) {
|
|||
// Load Dolibarr environment
|
||||
require '../../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
|
||||
|
||||
global $user, $conf, $langs;
|
||||
/**
|
||||
* @var DoliDB $db
|
||||
*/
|
||||
global $user, $conf, $db, $langs;
|
||||
|
||||
$langs->loadLangs(array("main", "mails"));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue