Fix: problem with trigger

This commit is contained in:
Regis Houssin 2011-04-07 10:54:45 +00:00
parent c9c0a5e3be
commit 72b863fb88

View File

@ -2371,7 +2371,7 @@ class PropaleLigne
*/
function insert()
{
global $conf;
global $conf,$langs,$user;
dol_syslog("PropaleLigne::insert rang=".$this->rang);
@ -2460,6 +2460,8 @@ class PropaleLigne
*/
function delete($rowid)
{
global $conf,$langs,$user;
// For triggers
$this->fetch($rowid);