Skip to content

Commit

Permalink
Merge pull request zencart#6060 from neekfenwick/init-fix-issue-6058
Browse files Browse the repository at this point in the history
Move initialisation of $extra_headings out of conditional.
  • Loading branch information
lat9 authored Nov 27, 2023
2 parents 61a6d46 + 9df72cc commit d0a7a2f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@
<?php if ($current_page != FILENAME_CHECKOUT_SUCCESS) { ?>
<h2 id="orderHistoryDetailedOrder"><?php echo HEADING_TITLE . ORDER_HEADING_DIVIDER . sprintf(HEADING_ORDER_NUMBER, zen_output_string_protected($_GET['order_id'])); ?></h2>

<?php
<?php }

$extra_headings = [];
$zco_notifier->notify('NOTIFY_ACCOUNT_HISTORY_INFO_EXTRA_COLUMN_HEADING', $order, $extra_headings);
?>

<?php } ?>

<table id="orderHistoryHeading">
<tr class="tableHeading">
<th scope="col" id="myAccountQuantity"><?php echo HEADING_QUANTITY; ?></th>
Expand Down

0 comments on commit d0a7a2f

Please sign in to comment.