관리자: 변수 상수 제외 홑따옴표 변수를 상수로

This commit is contained in:
whitedot
2012-12-26 15:02:56 +09:00
parent b023c3414d
commit b96dd3b27f
10 changed files with 27 additions and 27 deletions

View File

@ -100,7 +100,7 @@ function textarea_size(fld, size)
$href2 = '</a>';
}
$current_class = "";
if (isset($sub_menu) && (substr($sub_menu, 0, 2) == substr($menu['menu'.$key][0][0], 0, 2) || $index))
if (isset($sub_menu) && (substr($sub_menu, 0, 2) == substr($menu['menu'.$key][0][0], 0, 2) || isset($index)))
$current_class = " gnb_1depth_on";
echo "<li class=\"gnb_1depth".$current_class."\">";
echo $href1 . $menu['menu'.$key][0][1] . $href2;