Follow-up to r15791: Rename "user" and "text" when upgrading on PostgreSQL
[lhc/web/wiklou.git] / includes / WebRequest.php
index 33376cf..9b66d7d 100644 (file)
@@ -535,7 +535,7 @@ class WebRequest {
 
                $retVal = array();
                foreach ( $names as $name ) {
-                       $value = $this->getVal( $name );
+                       $value = $this->getGPCVal( $this->data, $name, null );
                        if ( !is_null( $value ) ) {
                                $retVal[$name] = $value;
                        }