Unused $param argument in hook_form(), preview fixes

JonBob - October 27, 2005 - 14:12
Project:Drupal
Version:x.y.z
Component:node.module
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

The new form API obsoletes the $param argument to this hook. The hook should be changed accordingly, and the call to the hook in node_form should be changed back to a normal node_invoke().

#1

chx - October 28, 2005 - 00:20
Title:Unused $param argument in hook_form()» Unused $param argument in hook_form(), preview fixes

This was fixed by me and walkah and none of them got it. Nice job :/ (we had clashes between svn and cvs).

Also included a simple mechanism to show when you are in node_preview, so that you can do a proper check_markup.

AttachmentSize
node_41.patch 1.43 KB

#2

Steven - October 28, 2005 - 00:32
Status:active» fixed

Committed to HEAD.

#3

Anonymous - November 11, 2005 - 00:40
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.