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

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git

commit 018645229f2719927b6182ce70693e590ffaff5f
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 4f0dade..eaea23e 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
@@ -157,6 +157,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