If an exported variable has any line breaks in it, the code comment which Features Override adds to it spans multiple lines as well, so it will not be treated as a code comment.
This leads to a fatal error when the feature is enabled, because the file does not contain valid PHP.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | features-override-1555942-1.patch | 859 bytes | David_Rothstein |
Comments
Comment #1
David_Rothstein commentedSomething like the attached should fix it.
Comment #2
mpotter commentedLooks good. Committed and pushed to 613bcc1.