From 7477973d931ffb816b2cbbad9c5bc06e3ef2ecd8 Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 16 Jul 2009 08:59:01 +0000 Subject: Make 2nd argument optinal (#1485976) --- program/include/rcube_template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index a08f27309..caf385a69 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -947,7 +947,7 @@ class rcube_template extends rcube_html_page * @param string Form content * @return string HTML code for the form */ - public function request_form($attrib, $content) + public function request_form($attrib, $content = '') { $hidden = new html_hiddenfield(); if ($attrib['task']) { -- cgit v1.2.3