From: Benny Situ Date: Sat, 10 Mar 2012 00:31:54 +0000 (+0000) Subject: followup to -r113545 - add null for missing $default param X-Git-Tag: 1.31.0-rc.0~24306 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=commitdiff_plain;h=586285e1f3b36e578d4edbcfa8f12b025c54f463;p=lhc%2Fweb%2Fwiklou.git followup to -r113545 - add null for missing $default param --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 879edf6b1a..9b66d7d86d 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -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; }