Remove unneccessary ternary (SMF)
authorTim Düsterhus <timwolla@bastelstu.be>
Wed, 11 Sep 2013 19:53:36 +0000 (21:53 +0200)
committerTim Düsterhus <timwolla@bastelstu.be>
Wed, 11 Sep 2013 19:53:36 +0000 (21:53 +0200)
files/lib/system/exporter/SMF2xExporter.class.php

index b436255210ddd7b469810fc406bc9047bf2d0450..700231cce30817920d778f9ddce358b7f494d0ab 100644 (file)
@@ -660,7 +660,7 @@ class SMF2xExporter extends AbstractExporter {
                                'boardID' => $row['id_board'],
                                'topic' => $row['subject'],
                                'time' => $row['time'],
-                               'userID' => $row['id_member_started'] ?: null,
+                               'userID' => $row['id_member_started'],
                                'username' => $row['username'],
                                'views' => $row['num_views'],
                                'isAnnouncement' => 0,