fix: General객체에서 permission과 penalty를 받아오지 않는 버그
This commit is contained in:
@@ -76,6 +76,7 @@ class GetFrontInfo extends \sammo\BaseAPI
|
|||||||
'conlimit',
|
'conlimit',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
$lastVote = null;
|
||||||
if ($lastVoteID) {
|
if ($lastVoteID) {
|
||||||
$voteStor = KVStorage::getStorage($db, 'vote');
|
$voteStor = KVStorage::getStorage($db, 'vote');
|
||||||
$lastVote = VoteInfo::fromArray($voteStor->getValue("vote_{$lastVoteID}"));
|
$lastVote = VoteInfo::fromArray($voteStor->getValue("vote_{$lastVoteID}"));
|
||||||
|
|||||||
@@ -1082,7 +1082,7 @@ class General implements iAction
|
|||||||
'personal', 'special', 'special2', 'defence_train', 'tnmt', 'npc', 'npc_org', 'deadyear', 'npcmsg',
|
'personal', 'special', 'special2', 'defence_train', 'tnmt', 'npc', 'npc_org', 'deadyear', 'npcmsg',
|
||||||
'dex1', 'dex2', 'dex3', 'dex4', 'dex5', 'betray',
|
'dex1', 'dex2', 'dex3', 'dex4', 'dex5', 'betray',
|
||||||
'recent_war', 'last_turn', 'myset',
|
'recent_war', 'last_turn', 'myset',
|
||||||
'specage', 'specage2', 'con', 'connect', 'aux', 'lastrefresh',
|
'specage', 'specage2', 'con', 'connect', 'aux', 'lastrefresh', 'permission', 'penalty',
|
||||||
];
|
];
|
||||||
|
|
||||||
if ($reqColumns === null) {
|
if ($reqColumns === null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user