Skip to content
Snippets Groups Projects
Commit 2a8ff0d3 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #43904: user picture not showing.

parent 7939ae1d
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -250,6 +250,9 @@ function phptemplate_node($node, $teaser = 0, $page = 0) {
$variables['submitted'] = t('Submitted by %a on %b.', array('%a' => theme('username', $node), '%b' => format_date($node->created)));
$variables['picture'] = theme_get_setting('toggle_node_user_picture') ? theme('user_picture', $node) : '';
}
else {
$variables['picture'] = '';
}
return _phptemplate_callback('node', $variables, 'node-' . $node->type);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment