From 7477973d931ffb816b2cbbad9c5bc06e3ef2ecd8 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 16 Jul 2009 04:59:01 -0400
Subject: [PATCH] Make 2nd argument optinal (#1485976)

---
 program/include/rcube_template.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index a08f273..caf385a 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -947,7 +947,7 @@
      * @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']) {

--
Gitblit v1.9.1