From 85fc561ee0214ce7bb0440306295d200fa8d3217 Mon Sep 17 00:00:00 2001 From: Aestu Date: Tue, 2 Dec 2014 01:26:47 +0100 Subject: [PATCH] Fixed issue #9381: Bug when showing message of invalid token --- application/controllers/survey/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/survey/index.php b/application/controllers/survey/index.php index 5cd7fdc7e46..4168fda36e8 100644 --- a/application/controllers/survey/index.php +++ b/application/controllers/survey/index.php @@ -386,7 +386,7 @@ function action() { $sError = gT("This invitation is not valid yet."); } - elseif(strtotime($now)>strtotime($oToken->validfrom)) + elseif(strtotime($now) > strtotime($oToken->validuntil)) { $sError = gT("This invitation is not valid anymore."); }