Got notices like
Undefined index: sidebar_first in zurb_foundation_preprocess_page()
Undefined index: sidebar_second in zurb_foundation_preprocess_page() (line 290 of zurb_foundation.theme)I have a fix and will have a patch here. It's a simple thing. I had unset the sidebars in my child theme and got these notices.
// Convenience variables
$left = $variables['page']['sidebar_first'];
$right = $variables['page']['sidebar_second'];
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | undefined-sidebar-2826679-3.patch | 641 bytes | hongpong |
Comments
Comment #2
hongpong commentedComment #3
hongpong commentedHere you are.
Comment #4
hongpong commentedComment #7
samuel.mortensonLooks good to me @hongpong, thanks!
Comment #8
hongpong commentedHey thanks for rolling it in. best regards