IDEMPIERE-294 Maintenance / minor patch required for plugin org.evenos.broadcaster

This commit is contained in:
Carlos Ruiz 2014-03-26 11:51:16 -05:00
parent ed0eee0faf
commit c372315ce8
1 changed files with 1 additions and 2 deletions

View File

@ -78,8 +78,7 @@ public class BroadcastMsgUtil
if (! user.isActive()) if (! user.isActive())
continue; continue;
MNote note = new MNote(Env.getCtx(), 0, trxName); MNote note = new MNote(Env.getCtx(), 0, trxName);
if (MBroadcastMessage.TARGET_Everybody.equals(mbMessage.getTarget())) note.setClientOrg(user.getAD_Client_ID(), 0);
note.setClientOrg(user.getAD_Client_ID(), 0);
note.setAD_BroadcastMessage_ID(messageID); note.setAD_BroadcastMessage_ID(messageID);
note.setAD_User_ID(userID); note.setAD_User_ID(userID);
note.setAD_Message_ID(0); note.setAD_Message_ID(0);