From a9b5a00cb07cb193a445832dbdd02180f715ebcf Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 20 Oct 2011 13:16:33 +0200 Subject: [PATCH] Add socid parameter --- htdocs/comm/addpropal.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/addpropal.php b/htdocs/comm/addpropal.php index 28aa4a1439e..8e7526410f9 100644 --- a/htdocs/comm/addpropal.php +++ b/htdocs/comm/addpropal.php @@ -237,7 +237,8 @@ if ($_GET["action"] == 'create') } // Insert hooks - $parameters=array(); + $parameters=array('socid'=>$socid); + $object=new Propal($db); $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action); // Note that $action and $object may have been modified by hook print "";