Closed (fixed)
Project:
Rubik
Version:
7.x-4.0-beta6
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2011 at 22:10 UTC
Updated:
17 Nov 2011 at 23:30 UTC
Wrong var label for username in 'Posted by' theme() call -- 'name' should be 'account'.
See theme('username', ...) calls anywhere, i.e. modules/node/node.module:1446
In template.php function _rubik_submitted($node):
- $byline = t('Posted by !username', array('!username' => theme('username', array('name' => $node))));
+ $byline = t('Posted by !username', array('!username' => theme('username', array('account' => $node))));
Patch attached. Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| rubik-7.x-4.0-beta6-byline.patch | 616 bytes | zany |
Comments
Comment #1
coffeymachine commentedComment #2
beltofteCan confirm that the patch solves the issue.
Comment #3
coffeymachine commentedCommitted to the 7.x-4.x branch. Thank you!