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.
| Attachment | Size |
|---|---|
| bloginfo_patch_avoidarg.patch | 870 bytes |

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