PHP 8.1 Compatibility issue
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | entityreference_prepopulate_php8.1compatibility_3302813_fix.patch | 742 bytes | marrrc |
| #2 | entityreference_prepopulate_php8.1compatibility_3302813.patch | 976 bytes | rudraksh_98 |
Issue fork entityreference_prepopulate-3302813
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
rudraksh_98 commentedfixing issue for PHP 8.1 Compatibility
Comment #3
rudraksh_98 commentedComment #4
marrrc commentedfixed relative paths for patched file
Comment #5
anybodyThanks @marrrc - could you perhaps provide this as Merge Request? (MR)
Comment #6
grevil commentedDoesn't really make sense to me, I think it should be:
Instead.
Comment #7
anybodyStarting with a negated assignment (
!$form_build_id =) in an if clause isn't a good idea at all. It makes things hard to read and understand and is thereby prone to mistakes.So could we please unclutter this?
Comment #8
grevil commented@Anybody, actually there is no need to do anything here, as it got already resolved. This is the current implementation of the function: