Avoid using arg() in form creation hook

dalad - November 18, 2008 - 10:09
Project:Blog Information
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:dalad
Status:needs review
Description

Using args is unusefull and might be a problem when you need to include blog info form in other paths. You can simply access account uid to perform the same task.

AttachmentSize
bloginfo_patch_avoidarg.patch870 bytes

#1

dalad - November 18, 2008 - 10:16

There was a typo in the previous patch, this will do:

AttachmentSize
bloginfo_patch_avoidarg.patch 871 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.