r113551 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113550‎ | r113551 | r113552 >
Date:00:31, 10 March 2012
Author:bsitu
Status:ok
Tags:
Comment:
followup to -r113545 - add null for missing $default param
Modified paths:
  • /trunk/phase3/includes/WebRequest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/WebRequest.php
@@ -535,7 +535,7 @@
536536
537537 $retVal = array();
538538 foreach ( $names as $name ) {
539 - $value = $this->getGPCVal( $this->data, $name );
 539+ $value = $this->getGPCVal( $this->data, $name, null );
540540 if ( !is_null( $value ) ) {
541541 $retVal[$name] = $value;
542542 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113545(bug 34521) Returning to the previous page after logging in loses any array-v...catrope23:27, 9 March 2012

Status & tagging log