Skip to content

Commit

Permalink
Fix command list : remove double hook printFieldPreListTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
lemathou committed Nov 26, 2024
1 parent acdab17 commit 8d066ae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions htdocs/.user.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
display_errors = On
display_startup_errors = On

1 change: 1 addition & 0 deletions htdocs/bug.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php bug
3 changes: 0 additions & 3 deletions htdocs/commande/list.php
Original file line number Diff line number Diff line change
Expand Up @@ -1492,9 +1492,6 @@
if (!empty($moreforfilter)) {
print '<div class="liste_titre liste_titre_bydiv centpercent">';
print $moreforfilter;
$parameters = array();
$reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print '</div>';
}

Expand Down
1 change: 1 addition & 0 deletions htdocs/phpinfo_mmi.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php phpinfo();

0 comments on commit 8d066ae

Please sign in to comment.