From e8faa58922550f2d602730eb82f3b4d889f08f92 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 26 Jun 2008 10:24:33 -0400 Subject: [PATCH] Fixed construct_user_display() * includes/functions.php --- includes/functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index f72be5f..aec184a 100755 --- 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 { -- 2.22.5