Download & Extend

Message Box is not correctly checking og users when sending message

Project:Message Box
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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?

Comments

#1

Thank you. that solved my problem.

Problem described here

#2

Status:postponed (maintainer needs more info)» needs review