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 |
Jump to:
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)
| Attachment | Size |
|---|---|
| spam_range.patch | 1.37 KB |

#1
Thanks, patch applied, though modified to use the native range() function if using PHP5 or greater.
#2
Automatically closed -- issue fixed for two weeks with no activity.