mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 23:30:35 -04:00
Add system to retrieve and manage donations in a local database
This commit is contained in:
parent
79c531aacb
commit
70a80d0e02
46 changed files with 782 additions and 910 deletions
|
@ -92,7 +92,7 @@ class DbConnection{
|
|||
foreach($params as $parameter){
|
||||
$name++;
|
||||
|
||||
if(is_a($parameter, 'DateTime')){
|
||||
if(is_a($parameter, 'DateTime') || is_a($parameter, 'DateTimeImmutable')){
|
||||
$parameter = $parameter->format('Y-m-d H:i:s');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue