Closed (fixed)
Project:
Samara
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2012 at 14:34 UTC
Updated:
5 Dec 2012 at 05:10 UTC
Jump to comment: Most recent file
If the Drupal instance has no item in the main menu, the "primary_nav" key is not defined. So the check for "$primary_nav" in the page.tpl.php template throw an error.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | samara-undefined-variable-primary_nav-1828088-1.patch | 693 bytes | b-prod |
Comments
Comment #1
b-prod commentedThe patch below fixes the issue.
Comment #2
chi commentedFixed. Thanks.