small coding errors: user-object used but not defined
Jo Wouters - April 20, 2008 - 10:29
| Project: | Mollom |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Jo Wouters |
| Status: | closed |
Jump to:
Description
2 small errors:
the function mollom_data_contact_mail_page() uses the $user-object, but $user is not defined as global.
the function mollom_data_contact_mail_user() defines $base_url as global, but does not use it.
patch in attachment
| Attachment | Size |
|---|---|
| mollom_define_userobject.patch | 803 bytes |

#1
I've committed this patch to DRUPAL-5, and I've confirmed that this problem does not exist with DRUPAL-6. Thanks Jo.
#2
Automatically closed -- issue fixed for two weeks with no activity.