From 4e003341579ea7cdebfedc42b7ee1658d40fcb4a Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Thu, 11 Aug 2011 09:25:07 +0000 Subject: [PATCH] Fix: works on repair broken features --- htdocs/core/tpl/freeproductline_edit.tpl.php | 4 ++-- htdocs/core/tpl/predefinedproductline_edit.tpl.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/tpl/freeproductline_edit.tpl.php b/htdocs/core/tpl/freeproductline_edit.tpl.php index 95503daed85..c32a9ead567 100644 --- a/htdocs/core/tpl/freeproductline_edit.tpl.php +++ b/htdocs/core/tpl/freeproductline_edit.tpl.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * - * $Id: freeproductline_edit.tpl.php,v 1.18 2011/08/10 22:47:33 eldy Exp $ + * $Id: freeproductline_edit.tpl.php,v 1.19 2011/08/11 09:25:07 hregis Exp $ * * Need to have following variables defined: * $conf @@ -42,7 +42,7 @@ if (is_object($hookmanager)) { $parameters=array('fk_parent_line'=>$line->fk_parent_line); - $hookmanager->executeHooks('formEditProductOptions',$parameters,$object,$action); + $hookmanager->executeHooks('formEditProductOptions',$parameters,$this,$action); } // editeur wysiwyg diff --git a/htdocs/core/tpl/predefinedproductline_edit.tpl.php b/htdocs/core/tpl/predefinedproductline_edit.tpl.php index 1a21911041a..052a83c2c20 100644 --- a/htdocs/core/tpl/predefinedproductline_edit.tpl.php +++ b/htdocs/core/tpl/predefinedproductline_edit.tpl.php @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * - * $Id: predefinedproductline_edit.tpl.php,v 1.19 2011/08/11 07:41:41 hregis Exp $ + * $Id: predefinedproductline_edit.tpl.php,v 1.20 2011/08/11 09:25:07 hregis Exp $ * * Need to have following variables defined: * $conf @@ -51,7 +51,7 @@ { $fk_parent_line = ($_POST["fk_parent_line"] ? $_POST["fk_parent_line"] : $line->fk_parent_line); $parameters=array('fk_parent_line'=>$fk_parent_line); - $hookmanager->executeHooks('formEditProductOptions',$parameters,$object,$action); + $hookmanager->executeHooks('formEditProductOptions',$parameters,$this,$action); } // editeur wysiwyg -- GitLab