From a1de3afcf2f5872a5c69ca887a6f391d3191e73d Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 15 Sep 2010 19:52:07 +0000 Subject: [PATCH] optional text parameter for status message --- lam/lib/html.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index b724861a..1dc351b0 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -1360,9 +1360,9 @@ class htmlStatusMessage extends htmlElement { * * @param String $type message type (e.g. ERROR) * @param String $title message title - * @param String $text message + * @param String $text message (optional) */ - function __construct($type, $title, $text) { + function __construct($type, $title, $text = null) { $this->type = $type; $this->title = $title; $this->text = $text;