Call time pass by reference...

jbrauer - November 8, 2009 - 07:05
Project:Boost
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

boost.module has a call time pass by reference (which is unnecessary) that throws an error and prevents pages from being cached in certain cases.

    // Expire all files that match up
    if ($data) {
      boost_set_base_dir_in_array(&$data);
      $counter += boost_cache_expire_router($data);
    }

The actual line number with the problem is 1684.

#1

mikeytown2 - November 8, 2009 - 07:22
Status:needs review» fixed

Thanks! Committed the fix.

#2

System Message - November 22, 2009 - 07:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.