Use dynamic arguments in hook_menu

hadsie - August 24, 2009 - 17:25
Project:Node Invite
Version:6.x-1.0-beta10
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

This is just a simple patch to use dynamic arguments in the hook_menu instead of checking them with arg(2), arg(3) once in the form function. It also replaces the nid call in node_invite_rsvp to simply pass a node instead of passing an nid and then running another call to node_load. Hopefully there's not a reason for doing this that I've missed in the code :).

AttachmentSize
node_invite_dynamic_arguments.patch5.23 KB

#1

hadsie - September 1, 2009 - 19:13
Status:needs review» fixed

fixed in beta11 release

#2

System Message - September 15, 2009 - 19:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.