From f2aedb7e358c25eb41803a862bfd9bb669f20b41 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 10 Jun 2005 06:32:19 +0000 Subject: [PATCH] r262: We should use lang::p() instead of $bugsys->lang->p() if we want to be fully correct... --- showhistory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/showhistory.php b/showhistory.php index 5bb05b6..2889e2e 100644 --- a/showhistory.php +++ b/showhistory.php @@ -56,7 +56,7 @@ $logs_fetch = $db->query(" ); while ($log = $db->fetch_array($logs_fetch)) { - $log['formatted'] = call_user_func_array(array($bugsys->lang, 'p'), array_merge(array($log['language']), unserialize($log['arguments']))); + $log['formatted'] = call_user_func_array(array(lang, 'p'), array_merge(array($log['language']), unserialize($log['arguments']))); $log['date'] = datelike('standard', $log['dateline']); $log['user'] = construct_user_display($log); -- 2.43.5