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

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

@ -12,7 +12,7 @@ $sql_search = " where (1) ";
if ($is_admin != 'super')
$sql_search .= " and (gr_admin = '{$member['mb_id']}') ";
if ($stx) {
if (isset($stx)) {
$sql_search .= " and ( ";
switch ($sfl) {
case "gr_id" :
@ -178,7 +178,7 @@ $pagelist = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['
</div>
<?
if ($stx)
if (isset($stx))
echo '<script>document.fsearch.sfl.value = "'.$sfl.'";</script>';
?>
</form>