Skip to content

Commit

Permalink
Keep counter Totals first for Event Types
Browse files Browse the repository at this point in the history
  • Loading branch information
respencer committed Jun 3, 2024
1 parent ec75af8 commit 3ed11a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventNames.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
$eRecur = $_POST['newEvtTypeRecur'];
$eCntLst = $_POST['newEvtTypeCntLst'];
$eCntArray = array_filter(array_map('trim', explode(',', $eCntLst)));
$eCntArray[] = 'Total';
array_unshift($eCntArray, 'Total');
$eCntNum = count($eCntArray);
$theID = $_POST['theID'];

Expand Down

0 comments on commit 3ed11a2

Please sign in to comment.