This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch OPENMEETINGS-1864-privacy
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/OPENMEETINGS-1864-privacy by 
this push:
     new ba4e1d8  no jira: invitation creation is improved
ba4e1d8 is described below

commit ba4e1d828a2f040e8e45625fd50fea7f46a3416e
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Fri Apr 13 11:37:34 2018 +0700

    no jira: invitation creation is improved
---
 .../src/main/java/org/apache/openmeetings/web/common/InvitationForm.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/InvitationForm.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/InvitationForm.java
index d6e9eab..d91f4f8 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/InvitationForm.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/InvitationForm.java
@@ -152,6 +152,7 @@ public abstract class InvitationForm extends 
Form<Invitation> {
 
        protected Invitation create(User u) {
                Invitation i = new Invitation(getModelObject());
+               i.setInvitedBy(getBean(UserDao.class).get(getUserId()));
                i.setId(null);
                i.setUpdated(null);
                i.setUsed(false);

-- 
To stop receiving notification emails like this one, please contact
solo...@apache.org.

Reply via email to