You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2018/04/13 04:37:44 UTC

[openmeetings] branch 4.0.x updated: no jira: invitation creation is improved

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

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


The following commit(s) were added to refs/heads/4.0.x by this push:
     new 9e3d74a  no jira: invitation creation is improved
9e3d74a is described below

commit 9e3d74a1592d3e9fe0be0dfcb65f0963a679ee59
Author: Maxim Solodovnik <so...@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
solomax@apache.org.