#5692 - Undefined array offset when sorting catalogues by date field

  • By
  • Added
  • 4 views
Identifier #5692
Issue type Minor issue (breaks specific functionality)
Title Undefined array offset when sorting catalogues by date field
Status Completed
Handling member PDStig
Version 11 alpha1
Addon catalogues
Description When sorting catalogues by a date-only field, an undefined array offset error is triggered in sources/catalogues.php . This is because the code was assuming a time bit would always be provided, which is not the case for date-only fields. Fix this so that if the time bit is not included, we default to midnight.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-5692 (Undefined array offset when sorting catalogues by date field) (14a8fc37) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated