Skip to content

Commit

Permalink
Fixed issue #18517: Survey editing : Survey creation date is wrong (#…
Browse files Browse the repository at this point in the history
…2821)

Co-authored-by: lapiudevgit <devgit@lapiu.biz>
  • Loading branch information
gabrieljenik and lapiudevgit committed Jan 11, 2023
1 parent 5693f69 commit f88ecbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Survey.php
Expand Up @@ -493,7 +493,7 @@ public function rules()
array('sid', 'numerical', 'integerOnly' => true,'min' => 1), // max ?
array('sid', 'unique'),// Not in pk
array('gsid', 'numerical', 'integerOnly' => true),
array('datecreated', 'default', 'value' => date("Y-m-d H:m:s")),
array('datecreated', 'default', 'value' => date("Y-m-d H:i:s")),
array('startdate', 'default', 'value' => null),
array('expires', 'default', 'value' => null),
array('admin', 'LSYii_Validators'),
Expand Down

0 comments on commit f88ecbd

Please sign in to comment.