In the latest PHPTemplate CVS, the $primary_links variable will contain merely "Array" if a) the user has not added their own primary links, and b) no other module defines primary links. I'm in a rush, so there's no proper patch attached, but, this block of code:

    } else {
      $primary_links = link_page();
    }

should become:

    } else {
      $primary_links = link_page();
      if (count($primary_links < 1)) {
        $primary_links = '';
      }
    }

Comments

morbus iff’s picture

Closing. This appears to have manifested because of a problem with the template I was using. It is an unnecessary edit.