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. */