Ticket #3979 (closed defect (bug): fixed)

Opened 5 years ago

Last modified 5 years ago

Can't set a static page as the front page

Reported by: donncha Owned by: anonymous
Priority: low Milestone: 2.1.3
Component: Administration Version: 2.1.2
Severity: major Keywords: show_on_front staticpage has-patch commit
Cc:

Description

I'm not sure why but somehow casting empty query vars as strings causes problems for show_on_front. The attached patch fixes that.

Attachments

patch.diff Download (562 bytes) - added by donncha 5 years ago.

Change History

donncha5 years ago

  • Keywords has-patch commit added
  • Version set to 2.2

comment:2   ryan5 years ago

  • Status changed from new to closed
  • Resolution set to fixed

(In [5051]) Don't cast to string if empty. Props donncha. fixes #3979

comment:3   ryan5 years ago

(In [5052]) Don't cast to string if empty. Props donncha. fixes #3979 for 2.1

comment:4   ryan5 years ago

(In [5053]) Don't cast to string if empty. Props donncha. fixes #3979 for 2.0

comment:5   ryan5 years ago

  • Version changed from 2.2 to 2.1.2
  • Milestone changed from 2.2 to 2.1.3
Note: See TracTickets for help on using tickets.