Author: jfthomps
Date: Thu Jul  5 14:32:53 2012
New Revision: 1357629

URL: http://svn.apache.org/viewvc?rev=1357629&view=rev
Log:
VCL-576
Finalizing for 2.3 release

userpreferences.php: modified processUserPrefsInput - fixed issue where 
preferred name could not be set to empty string - removed 
$user['preferredname'] as default value when calling processInputVar for 
preferredname

Modified:
    incubator/vcl/trunk/web/.ht-inc/userpreferences.php

Modified: incubator/vcl/trunk/web/.ht-inc/userpreferences.php
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/userpreferences.php?rev=1357629&r1=1357628&r2=1357629&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/userpreferences.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/userpreferences.php Thu Jul  5 14:32:53 2012
@@ -511,7 +511,7 @@ function processUserPrefsInput($checks=1
        $return = array();
 
        $defaultres = $user["width"] . 'x' . $user["height"];
-       $return["preferredname"] = processInputVar("preferredname" , 
ARG_STRING, $user["preferredname"]);
+       $return["preferredname"] = processInputVar("preferredname" , 
ARG_STRING);
        $return["resolution"] = processInputVar("resolution" , ARG_STRING, 
$defaultres);
        $return["bpp"] = processInputVar("bpp" , ARG_NUMERIC, $user["bpp"]);
        $return["audiomode"] = processInputVar("audiomode" , ARG_STRING, 
$user["audiomode"]);


Reply via email to