From 201868aba38433da69f05de5a6df1aba00d14395 Mon Sep 17 00:00:00 2001 From: duergner Date: Sat, 28 Feb 2004 11:33:44 +0000 Subject: [PATCH] *** empty log message *** --- lam-0.4/lib/status.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lam-0.4/lib/status.inc b/lam-0.4/lib/status.inc index 3056fe1e..9becf19b 100644 --- a/lam-0.4/lib/status.inc +++ b/lam-0.4/lib/status.inc @@ -59,7 +59,8 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariabl $variables .= "," . $MessageVariables[$i]; } $command = 'printf("' . addslashes($format) . '"' . $variables . ');'; - eval($command); + call_user_func_array(printf,array{$format,$MessageVariables}); + //eval($command); } /* Use the three replace functions on the submitted Text. */