Closed (fixed)
Project:
Boost
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2009 at 18:49 UTC
Updated:
16 Feb 2009 at 23:42 UTC
There is an incorrect call to url() in boost.module which causes a page that redirects to fail.
// If no query string was previously set, add one just to ensure we
// don't serve a static copy of the page we're redirecting to, which
// would prevent the session messages from showing up:
$destination = url($path, 't=' . time(), $fragment, TRUE);
In Drupal 6.x url() takes an array as it's second arg and barfs if it's called with anything else. This code is still using the 5.x syntax.
For 6.x change it to:
$destination = url($path, array('query' => 't='. time(), 'fragment' => $fragment,'absolute' => TRUE));
John
Comments
Comment #1
alex s commentedJohn, this is allready implemented http://drupal.org/node/343342