API: Fix broken block expiry calculation in list=recentchanges
authorRoan Kattouw <catrope@users.mediawiki.org>
Sun, 14 Dec 2008 15:50:40 +0000 (15:50 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sun, 14 Dec 2008 15:50:40 +0000 (15:50 +0000)
includes/api/ApiQueryRecentChanges.php

index 52d34db..c65c352 100644 (file)
@@ -338,7 +338,7 @@ class ApiQueryRecentChanges extends ApiQueryBase {
                        $vals['logaction'] = $row->rc_log_action;
                        ApiQueryLogEvents::addLogParams($this->getResult(),
                                $vals, $row->rc_params,
-                               $row->rc_log_type);
+                               $row->rc_log_type, $row->rc_timestamp);
                }
                
                if(!is_null($this->token))