The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Fixed bug in group join/joinrequest code

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
master
Polonkai Gergely 10 years ago
parent 111c563409
commit e8d018d663
  1. 2
      src/KekRozsak/FrontBundle/Controller/GroupController.php
  2. 1
      src/KekRozsak/FrontBundle/Entity/UserGroupMembership.php

@ -89,7 +89,7 @@ class GroupController extends Controller
);
}
$membership = new UserGroupMembership();
$membership = new UserGroupMembership($user, $group);
$membership->setUser($user);
$membership->setGroup($group);
$membership->setMembershipRequestedAt(new \DateTime('now'));

@ -20,7 +20,6 @@ class UserGroupMembership
$this->setUser($user);
$this->setGroup($group);
$this->setMembershipRequestedAt(new \DateTime('now'));
$this->setMembershipAcceptedAt(new \DateTime('now'));
}
/**

Loading…
Cancel
Save