Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As noted in the forums, there is a PHP 5.3 bug in content.module. The attached minor patch fixes it. The three variables in question are not modified in this function, meaning there's no need to pass them as a reference anyways.
Comment | File | Size | Author |
---|---|---|---|
cck-php53.patch | 645 bytes | mvc |
Comments
Comment #1
mvcadding php5.3 tag
Comment #2
mvcyes, i know php 5.3 is officially not supported for drupal 5, but this patch could still be useful to some users. setting to "won't fix" to unclutter the issue queue.
Comment #3
enchridion CreditAttribution: enchridion commentedThanks for posting the patch. I was moving an old, very customized Drupal install that would have been a major PITA to upgrade, this saved me a ton of work.
Thanks!