X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=blobdiff_plain;f=includes%2Fchanges%2FEnhancedChangesList.php;h=d2c4dd48fab375c5ff85da7900b1ed66efdcd26a;hb=f74400487fdb4c48833f566524d4079bce098250;hp=62cf39ee45d46f843e6f1fcadef8004f60f856bd;hpb=d1f681a77d9fa2de12eb78ff1f53ac2a8a6f3482;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/changes/EnhancedChangesList.php b/includes/changes/EnhancedChangesList.php index 62cf39ee45..d2c4dd48fa 100644 --- a/includes/changes/EnhancedChangesList.php +++ b/includes/changes/EnhancedChangesList.php @@ -1,6 +1,6 @@ unpatrolled, $block[0]->watched ); } - $queryParams['curid'] = $curId; + $queryParams = [ 'curid' => $curId ]; # Sub-entries $lines = []; @@ -632,7 +632,7 @@ class EnhancedChangesList extends ChangesList { protected function recentChangesBlockLine( $rcObj ) { $data = []; - $query['curid'] = $rcObj->mAttribs['rc_cur_id']; + $query = [ 'curid' => $rcObj->mAttribs['rc_cur_id'] ]; $type = $rcObj->mAttribs['rc_type']; $logType = $rcObj->mAttribs['rc_log_type'];