Merge "Add default type param for recentchanges and watchlist query api modules"
[lhc/web/wiklou.git] / includes / api / ApiQueryRecentChanges.php
index 9ce6171..bfdc5ab 100644 (file)
@@ -534,7 +534,7 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase {
                                $vals['logid'] = intval( $row->rc_logid );
                                $vals['logtype'] = $row->rc_log_type;
                                $vals['logaction'] = $row->rc_log_action;
-                               $logEntry = DatabaseLogEntry::newFromRow( (array)$row );
+                               $logEntry = DatabaseLogEntry::newFromRow( $row );
                                ApiQueryLogEvents::addLogParams(
                                        $this->getResult(),
                                        $vals,