ChangeSet ID: 31178 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2007/06/10 19:04:29 Modified files: include : util.php Log message: Chris Morgan <cmorgan(a)alum.wpi.edu> Switch some tabs to spaces Patch: http://cvs.winehq.org/patch.py?id=31178 Old revision New revision Changes Path 1.89 1.90 +4 -3 appdb/include/util.php Index: appdb/include/util.php diff -u -p appdb/include/util.php:1.89 appdb/include/util.php:1.90 --- appdb/include/util.php:1.89 11 Jun 2007 0: 4:29 -0000 +++ appdb/include/util.php 11 Jun 2007 0: 4:29 -0000 @@ -37,15 +37,16 @@ function build_urlarg($vars) while(list($key, $val) = each($vars)) { if(is_array($val)) - { + { while(list($idx, $value) = each($val)) { //echo "Encoding $key / $value<br>"; $arr[] = rawurlencode($key."[]")."=".rawurlencode($value); } - } - else + } else + { $arr[] = $key."=".rawurlencode($val); + } } return implode("&", $arr); }