From c21354101fb739e19a574ac42ada5bc35cfe90d6 Mon Sep 17 00:00:00 2001 From: phf Date: Mon, 16 Nov 2015 15:33:10 +0100 Subject: [PATCH] FIX can not have access to the new ids or propal lines on PROPAL_CLONE --- htdocs/comm/propal/class/propal.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php index ec5b9945c8e..8b9926e6458 100644 --- a/htdocs/comm/propal/class/propal.class.php +++ b/htdocs/comm/propal/class/propal.class.php @@ -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 }