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
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

AttachmentSize
mollom_define_userobject.patch803 bytes

#1

Dries - April 20, 2008 - 21:51
Status:patch (code needs review)» fixed

I've committed this patch to DRUPAL-5, and I've confirmed that this problem does not exist with DRUPAL-6. Thanks Jo.

#2

Anonymous (not verified) - May 4, 2008 - 21:53
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.