When $vars['element']['#attributes']['class'] isn't set, the above error is triggered.
Patch coming right up.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | rubik-1248650-fix-fatal-error.patch | 934 bytes | skwashd |
When $vars['element']['#attributes']['class'] isn't set, the above error is triggered.
Patch coming right up.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | rubik-1248650-fix-fatal-error.patch | 934 bytes | skwashd |
Comments
Comment #1
skwashd commentedThis patch fixes the problem.
Comment #2
fxarte commentedHow can this issue be reproduced?
Comment #3
skwashd commentedAs per the original comment, then an element has ['#attributes']['class'] unset
Comment #4
skwashd commentedComment #5
coffeymachine commentedThis is an edge case, I've never run into this issue before, and was not able to reproduce it. The code looks fine however, and I don't think it is likely to cause any problems. I've gone ahead and committed to 7.x-dev. Thanks.