From 6d575f6ca6c690d24c391e9e31954c52197db21b Mon Sep 17 00:00:00 2001 From: gnuboard Date: Wed, 9 Jan 2013 11:48:04 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tail.sub.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tail.sub.php b/tail.sub.php index 94b65bcf9..1ceae9051 100644 --- a/tail.sub.php +++ b/tail.sub.php @@ -11,8 +11,7 @@ $tmp_sql = " select count(*) as cnt from {$g4['login_table']} where lo_ip = '{$_ $tmp_row = sql_fetch($tmp_sql); //sql_query(" lock table $g4['login_table'] write ", false); -if ($tmp_row['cnt']) -{ +if ($tmp_row['cnt']) { $tmp_sql = " update {$g4['login_table']} set mb_id = '{$member['mb_id']}', lo_datetime = '{$g4['time_ymdhis']}', lo_location = '$lo_location', lo_url = '$lo_url' where lo_ip = '{$_SERVER['REMOTE_ADDR']}' "; sql_query($tmp_sql, FALSE); } else {