Skip to content
Snippets Groups Projects
Commit 089039d6 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: possibility to have more hooks in the same page

New: add left search block hook and extra left block hook
parent 363d5080
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,8 @@
<a name="<?php echo $line->id; ?>"></a>
<?php
if (! empty($this->hooks)) {
foreach($this->hooks as $module) {
if (! empty($this->hooks['objectcard'])) {
foreach($this->hooks['objectcard'] as $module) {
$module->formEditProductOptions($this,$line->fk_parent_line);
echo '<br>';
}
......
......@@ -48,8 +48,8 @@
echo ' - '.nl2br($line->product_label);
echo '<br>';
if (! empty($this->hooks)) {
foreach($this->hooks as $module) {
if (! empty($this->hooks['objectcard'])) {
foreach($this->hooks['objectcard'] as $module) {
$module->formEditProductOptions($this,$line->fk_parent_line);
echo '<br>';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment