From 8ffa11fe16c3dc5179c20e3d1e4b2888bc603761 Mon Sep 17 00:00:00 2001 From: simnandez Date: Wed, 26 Feb 2014 16:50:38 +0100 Subject: [PATCH] Fix: Loading actions extrafields fails. --- ChangeLog | 1 + htdocs/comm/action/fiche.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0432585483a..9c230457e91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -32,6 +32,7 @@ Fix: Signature was not added for email sent from thirdparty page. Fix: Action event SHIPPING_VALIDATE is not implemented Fix: The customer code was set to uppercase when using numbering module leopard. We must keep data safe of any change. +Fix: Loading actions extrafields fails. ***** ChangeLog for 3.5 compared to 3.4.* ***** For users: diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index ee20189f14f..c47b89ad9ed 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -3,7 +3,7 @@ * Copyright (C) 2004-2013 Laurent Destailleur * Copyright (C) 2005 Simon TOSSER * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2010 Juanjo Menent + * Copyright (C) 2010-2013 Juanjo Menent * Copyright (C) 2013 Florian Henry * * This program is free software; you can redistribute it and/or modify @@ -863,7 +863,7 @@ if ($id > 0) $reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$act,$action); // Note that $action and $object may have been modified by hook if (empty($reshook) && ! empty($extrafields->attribute_label)) { - print $actioncomm->showOptionals($extrafields,'edit'); + print $act->showOptionals($extrafields,'edit'); }