fix attached.

CommentFileSizeAuthor
faq-fixes.patch1.14 KBeMPee584

Comments

stella’s picture

Status: Needs review » Postponed (maintainer needs more info)

Can you provide details on the php errors you are trying to fix?

eMPee584’s picture

well not every page that gets piped through preprocess_page is a node, so you have to check $variables['node'] exists, not assume it does and use it as boolean variable.. same for the second fix: you can't be sure the node object indeed does have links because you never know at which time in the rendering process the hook is processed...

stella’s picture

Status: Postponed (maintainer needs more info) » Fixed

Committed, along with coding style fixes and also applied the changes to the other template files that required them. Will be included in the next release.

Cheers,
Stella

Status: Fixed » Closed (fixed)

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

stella’s picture

Released in 6.x-1.8.