PHP4 incompatibility

Roderik - December 14, 2007 - 09:56
Project:Spam
Version:5.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

The range() function in PHP4 does not have a 'step' (3rd) argument. So your module is not Drupal 5.x or Drupal 6.x compliant at the moment :)

(line 441 and 572 of spam.module)

AttachmentSize
spam_range.patch1.37 KB

#1

Jeremy@kerneltr... - April 24, 2008 - 14:18
Status:patch (code needs review)» fixed

Thanks, patch applied, though modified to use the native range() function if using PHP5 or greater.

#2

Anonymous (not verified) - May 8, 2008 - 14:22
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.