diff --git a/hwe/commandlist.php b/hwe/commandlist.php index 6b8779bd..701e139a 100644 --- a/hwe/commandlist.php +++ b/hwe/commandlist.php @@ -80,6 +80,10 @@ function myCommandList() { $query = "select no,turntime,term,turn0,turn1,turn2,turn3,turn4,turn5,turn6,turn7,turn8,turn9,turn10,turn11,turn12,turn13,turn14,turn15,turn16,turn17,turn18,turn19,turn20,turn21,turn22,turn23 from general where owner='{$userID}'"; $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); $me = MYDB_fetch_array($result); + if(!$me){ + echo "로그인 되어있지 않습니다."; + return; + } $turn = getTurn($me, 2); echo " diff --git a/hwe/func_command.php b/hwe/func_command.php index 579bab88..7a9a1741 100644 --- a/hwe/func_command.php +++ b/hwe/func_command.php @@ -1,7 +1,7 @@ 색깔 :