From: Roan Kattouw Date: Sun, 14 Dec 2008 15:50:40 +0000 (+0000) Subject: API: Fix broken block expiry calculation in list=recentchanges X-Git-Tag: 1.31.0-rc.0~43971 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=65a7f19470555a796dcc45d4a9947d4b4f81ef60;p=lhc%2Fweb%2Fwiklou.git API: Fix broken block expiry calculation in list=recentchanges --- diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index 52d34db29c..c65c3529fd 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -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))