followup to -r113545 - add null for missing $default param
authorBenny Situ <bsitu@users.mediawiki.org>
Sat, 10 Mar 2012 00:31:54 +0000 (00:31 +0000)
committerBenny Situ <bsitu@users.mediawiki.org>
Sat, 10 Mar 2012 00:31:54 +0000 (00:31 +0000)
includes/WebRequest.php

index 879edf6..9b66d7d 100644 (file)
@@ -535,7 +535,7 @@ class WebRequest {
 
                $retVal = array();
                foreach ( $names as $name ) {
-                       $value = $this->getGPCVal( $this->data, $name );
+                       $value = $this->getGPCVal( $this->data, $name, null );
                        if ( !is_null( $value ) ) {
                                $retVal[$name] = $value;
                        }