From: Sam Reed Date: Sun, 21 Nov 2010 17:27:13 +0000 (+0000) Subject: Per r77072 CR, followup r66872 (seemingly my crappy code from 5 months ago) like... X-Git-Tag: 1.31.0-rc.0~33786 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=280f043665ece3b68fdc05c3b5784e64ae8549e9;p=lhc%2Fweb%2Fwiklou.git Per r77072 CR, followup r66872 (seemingly my crappy code from 5 months ago) like r77079 --- diff --git a/includes/api/ApiQueryIWLinks.php b/includes/api/ApiQueryIWLinks.php index 3ee820b7eb..5a5b452d2c 100644 --- a/includes/api/ApiQueryIWLinks.php +++ b/includes/api/ApiQueryIWLinks.php @@ -96,7 +96,7 @@ class ApiQueryIWLinks extends ApiQueryBase { if ( !is_null( $params['url'] ) ) { $title = Title::newFromText( "{$row->iwl_prefix}:{$row->iwl_title}" ); if ( $title ) { - $entry = array_merge( $entry, array( 'url' => $title->getFullURL() ) ); + $entry['url'] = $title->getFullURL(); } }