File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -365,14 +365,16 @@ public function save() {
365
365
$ stmt ->bindParam ( ':status ' , $ this ->status_bitmask , PDO ::PARAM_INT );
366
366
$ stmt ->bindParam ( ':type_id ' , $ this ->type_id , PDO ::PARAM_INT );
367
367
if ( is_null ( $ this ->updated_datetime )) {
368
- $ stmt ->bindParam ( ':updated_dt ' , null , PDO ::PARAM_NULL );
368
+ $ stmt ->bindParam (
369
+ ':updated_dt ' , $ this ->updated_datetime , PDO ::PARAM_NULL
370
+ );
369
371
} else {
370
372
$ stmt ->bindParam (
371
373
':updated_dt ' , $ this ->updated_datetime , PDO ::PARAM_STR
372
374
);
373
375
}
374
376
if ( is_null ( $ this ->user_id )) {
375
- $ stmt ->bindParam ( ':user_id ' , null , PDO ::PARAM_NULL );
377
+ $ stmt ->bindParam ( ':user_id ' , $ this -> user_id , PDO ::PARAM_NULL );
376
378
} else {
377
379
$ stmt ->bindParam ( ':user_id ' , $ this ->user_id , PDO ::PARAM_INT );
378
380
}
You can’t perform that action at this time.
0 commit comments