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.

Comments

b-prod’s picture

Status: Active » Needs review
StatusFileSize
new693 bytes

The patch below fixes the issue.

chi’s picture

Status: Needs review » Fixed

Fixed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.