PHP4 Compatability in 5.x-4.x
sethfreach - July 7, 2009 - 16:26
| Project: | Activity |
| Version: | 5.x-4.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
the function_that_returns_object()->member syntax isn't supported in PHP4. Since PHP5 isn't a requisite for Drupal 5, modules should be able to run in a PHP4 environment. Patch simply assigns function return object to a variable and then dereferences that variable.
| Attachment | Size |
|---|---|
| activity.module-4.x-dev.patch | 1.6 KB |

#1
5.x unsupported please see 6.x-2