mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 17:32:15 +09:00
issue 1557, Added codes for unset get_vars
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10254 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
27af461e17
commit
4b4806f932
1 changed files with 1 additions and 1 deletions
|
|
@ -1020,7 +1020,7 @@ class Context {
|
|||
is_a($this,'Context')?$self=&$this:$self=&Context::getInstance();
|
||||
$self->context->{$key} = $val;
|
||||
if($set_to_get_vars === false) return;
|
||||
if(empty($val))
|
||||
if($val === NULL || $val === '')
|
||||
{
|
||||
unset($self->get_vars->{$key});
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue