Opened 15 years ago
Closed 15 years ago
#17448 closed defect (bug) (fixed)
Make sure $tz is not empty in get_gmt_from_date()
| Reported by: | johnjamesjacoby | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | Date/Time | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
It's possible that $tz might still be empty by default, which causes errors when posting new content.
See r17920 for where this was introduced.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Perhaps we need to revert back and just remove the class_exists() check.