diff --git a/lam-0.4/lib/status.inc b/lam-0.4/lib/status.inc index f01c5b34..8037bdd3 100644 --- a/lam-0.4/lib/status.inc +++ b/lam-0.4/lib/status.inc @@ -55,7 +55,8 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariabl $MessageHeadline = "

" . $MessageHeadline . "

"; // Format $MessageHeadline $MessageText = "

" . $MessageText . "

"; // Format $MessageText $format = "
\n
\n\n\n\n\n\n
" . $MessageTyp . "" . $MessageHeadline . $MessageText . "
\n
\n
\n"; - call_user_func_array('printf',array($format,$MessageVariables)); + array_unshift($MessageVariables, $format); + call_user_func_array('printf',$MessageVariables); } /* Use the three replace functions on the submitted Text. */