Skip to content

Commit

Permalink
regression fix paginator not formatting output of dates (order report…
Browse files Browse the repository at this point in the history
…, etc...)
  • Loading branch information
dleffler committed Jan 14, 2021
1 parent 6fc0ca0 commit f3d06fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/core/subsystems/expPaginator.php
Expand Up @@ -95,6 +95,7 @@ class expPaginator extends expSubsystem {
public $records = array();
public $cats = array();
public $sort_dropdown = array();
public $format = array();
public $linkables = array();

/**
Expand Down

2 comments on commit f3d06fc

@BJKline03
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixed the issue for me.

@exponentcms
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did NOT initialize the $this->format array variable and later versions of PHP won't auto-initialize it...therefore the 'format' array was NEVER populated by the code.

Please sign in to comment.