Fixed small issue
authorMarcel Werk <burntime@woltlab.com>
Tue, 26 Nov 2013 19:12:46 +0000 (20:12 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 26 Nov 2013 19:12:46 +0000 (20:12 +0100)
files/lib/system/exporter/WordPress3xExporter.class.php

index ddaaa2dd5d5e23636bdb2a120478ee67ffacaafd..8fb77b285af49f7838795768eaf358718719d4ca 100644 (file)
@@ -272,7 +272,7 @@ class WordPress3xExporter extends AbstractExporter {
                                
                        ImportHandler::getInstance()->getImporter('com.woltlab.blog.entry')->import($row['ID'], array(
                                'userID' => ($row['post_author'] ?: null),
-                               'username' => $row['user_login'],
+                               'username' => ($row['user_login'] ?: ''),
                                'subject' => $row['post_title'],
                                'message' => self::fixMessage($row['post_content']),
                                'time' => @strtotime($row['post_date_gmt']),