hook_link_alter warning

joehudson - September 19, 2009 - 18:12
Project:Secure Pages
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:joehudson
Status:needs review
Description

Hi,

using the latest 6.* version on a fresh install of XAMPP and Drupal 6.14 I got a PHP warning about securepages_link_alter's 2nd argument expecting a reference but getting a value.

I took the '&' out before the 2nd argument in the function definition (in agreement with the api spec for hook_link_alter), in securepages.module. problem fixed.

cheers.

 
 

Drupal is a registered trademark of Dries Buytaert.