diff --git a/lam/lib/status.inc b/lam/lib/status.inc index f508decd..1f7397d7 100644 --- a/lam/lib/status.inc +++ b/lam/lib/status.inc @@ -43,11 +43,11 @@ $Id$ * @param string $MessageHeadline The headline of the status message. *
It may be formatted with special color/link/bold tags. * @param string $MessageText The text of the status message. - *
It may be formatted with special color/link/bold tags. + *
It may be formatted with special color/link/bold tags. This parameter is optional. * @param array $MessageVariables The variables that are used to replace the spacers (%s) in the * submitted text. This parameter is optional. */ -function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariables = array()) { +function StatusMessage($MessageTyp,$MessageHeadline,$MessageText='',$MessageVariables = array()) { /* Setting CSS-StyleSheet class depending on the $MessageTyp and rewriting $MessageTyp with a readable string. */ if($MessageTyp == "INFO") { $class = "class=\"statusInfo\"";