From 52a67791f9071167f99e3c6288bff03503d45b66 Mon Sep 17 00:00:00 2001 From: Gabriel Jenik Date: Tue, 8 Nov 2022 12:12:45 -0300 Subject: [PATCH] Fixed issue: Survey gets into a state where it seems to be active but isn't - to fix this run integrity check Partially reverting issue 15195. Similar to commit https://github.com/LimeSurvey/LimeSurvey/commit/dbc22fcbf4d3bc80c44b596ab99346f8f280bf81 --- application/models/Survey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Survey.php b/application/models/Survey.php index f28d46bf658..96334a2d28b 100755 --- a/application/models/Survey.php +++ b/application/models/Survey.php @@ -498,7 +498,7 @@ public function rules() array('expires', 'date','format' => ['yyyy-M-d H:m:s.???','yyyy-M-d H:m:s','yyyy-M-d H:m'],'allowEmpty' => true), array('startdate', 'date','format' => ['yyyy-M-d H:m:s.???','yyyy-M-d H:m:s','yyyy-M-d H:m'],'allowEmpty' => true), array('datecreated', 'date','format' => ['yyyy-M-d H:m:s.???','yyyy-M-d H:m:s','yyyy-M-d H:m'],'allowEmpty' => true), - array('expires', 'checkExpireAfterStart'), + //array('expires', 'checkExpireAfterStart'), ); }