mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Issue 1562 fixed a warning in Context class
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10277 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
debe44afdc
commit
07aba2b16c
1 changed files with 7 additions and 4 deletions
|
|
@ -781,9 +781,13 @@ class Context {
|
|||
static $url = null;
|
||||
if(is_null($url)) {
|
||||
$url = Context::getRequestUri();
|
||||
if(count($_GET)) {
|
||||
foreach($_GET as $key => $val) $vars[] = $key.'='.urlencode(Context::convertEncodingStr($val));
|
||||
$url .= '?'.implode('&',$vars);
|
||||
if(count($_GET))
|
||||
{
|
||||
foreach($_GET as $key => $val)
|
||||
{
|
||||
$vars[] = $key . '=' . ($val ? urlencode(Context::convertEncodingStr($val)) : '');
|
||||
}
|
||||
$url .= '?' . join('&', $vars);
|
||||
}
|
||||
}
|
||||
return $url;
|
||||
|
|
@ -1458,4 +1462,3 @@ class Context {
|
|||
$map[$key] = $content;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue