From 42db7cf307eac6e7014b929ae1f80e2402c64a94 Mon Sep 17 00:00:00 2001 From: haneul Date: Fri, 16 Oct 2009 02:45:57 +0000 Subject: [PATCH] #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 --- classes/context/Context.class.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index c50f0be2b..00df330f0 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -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;