Update originproductline.tpl.php (#27944)
* Update originproductline.tpl.php Fix unset $form on OF creation causing a fatal error when using $form->textwithpicto() * Update originproductline.tpl.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
b514c1afbe
commit
f184caec73
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ if (empty($conf) || !is_object($conf)) {
|
|||
|
||||
global $db, $langs;
|
||||
|
||||
if (!empty($form) && !is_object($form)) {
|
||||
if (empty($form) || !is_object($form))) {
|
||||
$form = new Form($db);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue