Closed (won't fix)
Project:
PHPTemplate
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2004 at 23:48 UTC
Updated:
16 Nov 2004 at 14:22 UTC
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
Comment #1
morbus iffClosing. This appears to have manifested because of a problem with the template I was using. It is an unnecessary edit.