https://src.bluestatic.org
/
bugdar.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613803e
)
Fixed construct_user_display()
author
Robert Sesek <rsesek@bluestatic.org>
Thu, 26 Jun 2008 14:24:33 +0000
(10:24 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Thu, 26 Jun 2008 14:24:33 +0000
(10:24 -0400)
* includes/functions.php
includes/functions.php
patch
|
blob
|
history
diff --git
a/includes/functions.php
b/includes/functions.php
index f72be5fc5ab8d39de48cd247b59ee9cf3e5eded7..aec184aa625f9b53700ddadcf3008953314ca44a 100755
(executable)
--- a/
includes/functions.php
+++ b/
includes/functions.php
@@
-73,7
+73,9
@@
function construct_user_display($userinfo, $html = true)
if ($html)
{
- eval('$username = "' . $bugsys->template->fetch('username_display') . '";');
+ $tpl = new BSTemplate('username_display');
+ $tpl->vars = array('userinfo' => $userinfo);
+ $username = $tpl->evaluate()->getTemplate();
}
else
{