Ticket #3979 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Can't set a static page as the front page

Reported by: donncha Assigned to: 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 (0.5 kB) - added by donncha on 03/16/07 14:04:03.

Change History

03/16/07 14:04:03 changed by donncha

  • attachment patch.diff added.

03/16/07 18:33:21 changed by foolswisdom

  • keywords changed from show_on_front staticpage to show_on_front staticpage has-patch commit.
  • version set to 2.2.

03/16/07 22:00:46 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

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

03/16/07 22:01:29 changed by ryan

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

03/16/07 22:05:17 changed by ryan

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

03/16/07 22:05:40 changed by ryan

  • version changed from 2.2 to 2.1.2.
  • milestone changed from 2.2 to 2.1.3.