Merge pull request #4008 from atm-ph/fix_38_trigger_propal_clone

FIX can not have access to the new ids or propal lines on PROPAL_CLONE
This commit is contained in:
Laurent Destailleur 2015-11-16 23:46:03 +01:00
commit 2f1a1c5111

View File

@ -1162,7 +1162,7 @@ class Propal extends CommonObject
}
// Call trigger
$result=$this->call_trigger('PROPAL_CLONE',$user);
$result=$clonedObj->call_trigger('PROPAL_CLONE',$user);
if ($result < 0) { $error++; }
// End call triggers
}