mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-13 23:42:13 +09:00
issue 127: Fixed a bug that 'key=0' is removed in URL
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9616 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fec2185570
commit
4ed6f7327b
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ class Context {
|
|||
if($_SERVER['REQUEST_METHOD'] == 'GET') {
|
||||
if($this->get_vars) {
|
||||
foreach($this->get_vars as $key=>$val) {
|
||||
if(!$val) continue;
|
||||
if(!strlen($val)) continue;
|
||||
if(is_array($val)&&count($val)) {
|
||||
foreach($val as $k => $v) {
|
||||
$url .= ($url?'&':'').$key.'['.$k.']='.urlencode($v);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue