Skip to content

Commit

Permalink
Fixed issue #15951: No creation date when importing participants to C…
Browse files Browse the repository at this point in the history
…PDB (#1502)

Made creation date to be current date
  • Loading branch information
gabrieljenik committed Aug 10, 2020
1 parent baa414b commit b427d9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/models/Participant.php
Expand Up @@ -2124,7 +2124,8 @@ public function insertParticipantCSV($data)
'language' => $data['language'],
'blacklisted' => $data['blacklisted'],
'created_by' => $data['owner_uid'],
'owner_uid' => $data['owner_uid']);
'owner_uid' => $data['owner_uid'],
'created' => date('Y-m-d H:i:s', time()));
Yii::app()->db->createCommand()->insert('{{participants}}', $insertData);
}

Expand Down

0 comments on commit b427d9e

Please sign in to comment.