Came across a bug in Drupal HEAD where template_preprocess_page() sets $variables['mission'] then clears it again thanks to some faulty logic. Thus, mission statements cannot be displayed.

This one-liner solves the problem for me.

ttyl!
--Alex Markley

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

desbeers’s picture

FileSize
1.98 KB

Confirmed the problem and patch works well. Problem appeared in http://drupal.org/node/137236. I altered the patch a bit: changed the comment above the affected code, the previous one made no sense, and put the 'mission' code together in a more logical place.

chx’s picture

I shortened the patch.

desbeers’s picture

Chx, yes, patch is shorter, but I liked to have all the 'mission' code grouped together. Just cosmetic; but easier to read.

dvessel’s picture

Status: Needs review » Reviewed & tested by the community

#2 works for me. Lets move on.

Gábor Hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Indeed, we try to keep variables together, so I committed #2. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)