Fix: Environnement $conf non passé aux triggers.
This commit is contained in:
parent
5d99d4dd09
commit
2a67daec08
@ -88,7 +88,7 @@ class Contrat
|
|||||||
*/
|
*/
|
||||||
function active_line($user, $line_id, $date, $dateend='')
|
function active_line($user, $line_id, $date, $dateend='')
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs,$conf;
|
||||||
|
|
||||||
// statut actif : 4
|
// statut actif : 4
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ class Contrat
|
|||||||
*/
|
*/
|
||||||
function close_line($user, $line_id, $dateend)
|
function close_line($user, $line_id, $dateend)
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs,$conf;
|
||||||
|
|
||||||
// statut actif : 4
|
// statut actif : 4
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user