Pages that include node submission information don't render properly, but instead show errors like

warning: Parameter 1 to phptemplate_node_submitted() expected to be a reference, value given in /Library/WebServer/Documents/includes/theme.inc on line 617.

It looks like the definition of function phptemplate_node_submitted() at template.php:176 is wrong; it is

function phptemplate_node_submitted(&$node)

but it should be

function phptemplate_node_submitted($node)

See also http://drupal.org/node/621946, http://drupal.org/node/613480, http://api.drupal.org/api/function/theme_node_submitted/6

Comments

atrasatti’s picture

Sorry I missed this bug for so long, for some reason I did not receive the e-mail notification. I will look into it ASAP.

atrasatti’s picture

Assigned: Unassigned » atrasatti
Status: Active » Needs review

I assume I had to have a higher level of warning messages, but I had never seen the error message. You are right anyway and it is now fixed in CVS. I have another couple of things I want to clean up and then I'll make an official update. You are welcome to test CVS, if you are brave enough :)

atrasatti’s picture

Version: 6.x-1.1 » 6.x-1.2
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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