null, isset과 "" 공백문자의 차이로 인하여 rewrite url이 잘못 생성되는 오류 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4461 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-08-25 06:45:33 +00:00
parent 9e9082a3d6
commit 4b99305f50

View file

@ -615,7 +615,7 @@
// rewrite모듈을 사용할때 getUrl()을 이용한 url 생성
if($this->allow_rewrite) {
if(count($get_vars)) foreach($get_vars as $key => $value) if(!isset($value)) unset($get_vars[$key]);
if(count($get_vars)) foreach($get_vars as $key => $value) if(!isset($value) || $value === '') unset($get_vars[$key]);
$var_keys = array_keys($get_vars);
asort($var_keys);