]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/UserImport.php
added suggestions
[friendica.git] / src / Core / UserImport.php
index 8d02fb420e2143f34d88672dc0f0ab548e1e66f2..97a6e6028e3b4905e341506a5f4d540ccbbd219d 100644 (file)
@@ -53,7 +53,7 @@ class UserImport
                        }
 
                        if ($ttype[$icol] === 'datetime') {
-                               $arr[$icol] = !empty($ival) ? $ival : DBA::NULL_DATETIME;
+                               $arr[$icol] = $ival ?? DBA::NULL_DATETIME;
                        }
                }
        }