From f10cca1182c1204eafd679e02a3b231f8df3c21b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 11 Mar 2004 05:28:51 +0000 Subject: - Patch 6345 by Chris: the 4th argument of form() is misnamed and used 0 as default value --- includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 0264418bd..e50aa5caf 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -938,11 +938,11 @@ function format_name($object) { * @defgroup from Form generation * @{ */ -function form($form, $method = "post", $action = 0, $options = 0) { +function form($form, $method = "post", $action = NULL, $attributes = NULL) { if (!$action) { $action = request_uri(); } - return "
\n$form\n
\n"; + return "
\n$form\n
\n"; } function form_item($title, $value, $description = NULL, $id = NULL) { -- cgit v1.2.3