Compatibility with PHP4
krishnap - May 28, 2008 - 21:34
| Project: | Scheduler |
| Version: | 5.x-1.14 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | krishnap |
| Status: | closed |
Description
The function stripos not compatible with PHP4.
more http://br.php.net/manual/pt_BR/function.stripos.php#76170
| Attachment | Size |
|---|---|
| scheduler.module.diff | 602 bytes |

#1
Thanks for your patch. I integrated the call to strpos and stristr directly, because i do not want to define a stripos function since that could interfere with other modules.
I attached the patch. I will commit it tomorrow night (+0200) if nobody has objections, because we need to roll a new release asap.
#2
Found this problem after uploading a 7MB audio file to a preview... groan. Ah well, upload it again now.
Thanks for the patch. I've checked the code (fine) and applied it, and it works fine.
#3
http://drupal.org/cvs?commit=118763
Thanks to krishnap and chris.morgan!
Fixed in Release 5.x-1.15.
#4
Automatically closed -- issue fixed for two weeks with no activity.