From 0e0ca3b589668041022e3191d749d4c5acaee6e9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 9 May 2009 18:28:13 +0000 Subject: - Patch #457532 by Berdir: more PHP5 'fixes'. --- modules/forum/forum.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 268645cfc..1217657fa 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -538,7 +538,7 @@ function forum_block_view($delta = '') { /** * Implementation of hook_form(). */ -function forum_form(&$node, $form_state) { +function forum_form($node, $form_state) { $type = node_get_types('type', $node); $form['title'] = array('#type' => 'textfield', '#title' => check_plain($type->title_label), '#default_value' => !empty($node->title) ? $node->title : '', '#required' => TRUE, '#weight' => -5); -- cgit v1.2.3