Skip to content

Commit

Permalink
fix: corrected update date handling on creating FAQs, closes #3113
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Jul 22, 2024
1 parent 360db1e commit f79ffc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/src/phpMyFAQ/Faq.php
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ public function create(FaqEntity $faq): int
$this->config->getDb()->escape($faq->getAuthor()),
$this->config->getDb()->escape($faq->getEmail()),
$faq->isComment() ? 'y' : 'n',
$faq->getUpdatedDate()->format('YmdHis'),
date('YmdHis'),
'00000000000000',
'99991231235959',
date('Y-m-d H:i:s'),
Expand Down

0 comments on commit f79ffc3

Please sign in to comment.