summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-07-16 08:59:01 +0000
committerthomascube <thomas@roundcube.net>2009-07-16 08:59:01 +0000
commit7477973d931ffb816b2cbbad9c5bc06e3ef2ecd8 (patch)
tree1ca77336013ff55c1aae4eb51d093863c2e23105 /program
parent3db3fd8949d9f4fff6e30fe55099add1fd57d9a4 (diff)
Make 2nd argument optinal (#1485976)
Diffstat (limited to 'program')
-rwxr-xr-xprogram/include/rcube_template.php2
1 files changed, 1 insertions, 1 deletions
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']) {