history가 없는데 참조해서 발생하는 버그 수정

This commit is contained in:
2018-04-02 02:31:17 +09:00
parent 427532f0a5
commit 3e3f156359
8 changed files with 212 additions and 144 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ if($btn == "투표" && $me['vote'] == 0 && $sel > 0) {
$query = "update general set gold=gold+{$develcost},vote='{$sel}' where owner='{$_SESSION['userID']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$log = array();
$log = [];
$log = uniqueItem($connect, $me, $log, 1);
pushGenLog($me, $log);
}