Message Box is not correctly checking og users when sending message

pivica - January 17, 2008 - 11:03
Project:Message Box
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

There is a little bug in _messagebox_form() function. $user variable is not set so checking for og users can't be done. Adding a

global $user;

in top of a _messagebox_form() seems to fix problem.

Also there is no checking of og users in messagebox_new_submit() function. Is this planed in some next version?

#1

asak - March 24, 2008 - 08:24

Thank you. that solved my problem.

Problem described here

#2

asak - March 24, 2008 - 08:28
Status:postponed (maintainer needs more info)» needs review
 
 

Drupal is a registered trademark of Dries Buytaert.