#18377592 : fixed a bug missing 0 value in getUrl function

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6870 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-10-16 02:45:57 +00:00
parent 142d9c1c31
commit 42db7cf307

View file

@ -834,7 +834,7 @@
$val = trim($args_list[$i+1]);
// 값이 없으면 GET변수에서 해당 키를 제거
if(!isset($val)) {
if(!isset($val) || strlen($val)<1) {
unset($get_vars[$key]);
continue;
}
@ -847,12 +847,6 @@
if($vid) $get_vars['vid'] = $vid;
else unset($get_vars['vid']);
if(count($get_vars)) {
foreach($get_vars as $key => $val) {
if(!trim($val)) unset($get_vars[$key]);
}
}
// action명이 변경되었던 것에 대해 호환성을 유지하기 위한 강제 값 변경
switch($get_vars['act']) {
case 'dispMemberFriend' : $get_vars['act'] = 'dispCommunicationFriend'; break;