Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
3.1.8
-
None
Description
While the docblock of the phpbb\user::format_date() method states that the unix timestamp $gmepoch needs to be integer, this is never enforced. This can potentially result in a fatal error in case the passed timestamp is a string or empty string:
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string
|
Attachments
Issue Links
- is related to
-
PHPBB3-13977 Fatal error entering UCP if bookmarked topic was deleted
- Closed