added suggestions
[friendica.git/.git] / src / Core / UserImport.php
index 8d02fb4..97a6e60 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;
                        }
                }
        }