diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-03-16 21:13:27 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-03-16 21:13:27 +0100 |
commit | 4d5fc927eace8f4208895cd309d23fc9025dbb6b (patch) | |
tree | 43fbbe420b2c84d532df5fa41e610a9ace63796c /inc | |
parent | cd4635ee7f07ae17e1b2a58d8d9e6620ddb077ef (diff) | |
download | rpg-4d5fc927eace8f4208895cd309d23fc9025dbb6b.tar.gz rpg-4d5fc927eace8f4208895cd309d23fc9025dbb6b.tar.bz2 |
use more consistent names
Diffstat (limited to 'inc')
-rw-r--r-- | inc/common.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/common.php b/inc/common.php index eef160122..5164d4ac0 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1497,7 +1497,7 @@ function userlink($username = null, $textonly = false) { 'title' => '', 'class' => '' ), - 'userinfo' => '', // formatted user name as will be returned + 'userlink' => '', // formatted user name as will be returned 'textonly' => $textonly ); if($username === null) { @@ -1573,19 +1573,19 @@ function userlink($username = null, $textonly = false) { } if($data['textonly']) { - $data['userinfo'] = $data['name']; + $data['userlink'] = $data['name']; } else { $data['link']['name'] = $data['name']; if(is_null($xhtml_renderer)) { $xhtml_renderer = p_get_renderer('xhtml'); } - $data['userinfo'] = $xhtml_renderer->_formatLink($data['link']); + $data['userlink'] = $xhtml_renderer->_formatLink($data['link']); } } $evt->advise_after(); unset($evt); - return $data['userinfo']; + return $data['userlink']; } /** |