mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 17:52:02 -04:00
feat(OCM-invite): check fails with too strict equality check
Signed-off-by: Micke Nordin <kano@sunet.se>
This commit is contained in:
parent
6ec00d3df8
commit
4a902b477e
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ class RequestHandlerController extends Controller {
|
|||
}
|
||||
$unixstart = $this->timeFactory->createFromFormat('U', '1');
|
||||
$expiredAt = $this->timeFactory->createFromFormat('U', strval($invitation->getExpiredAt()));
|
||||
if ($expiredAt === $unixstart) {
|
||||
if ($expiredAt == $unixstart) {
|
||||
$invitation->setExpiredAt($updated);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue