game table을 대상으로 하는 update, select에서 no=1 과 관련된 부분을 limit 1 로 변경
This commit is contained in:
@@ -77,7 +77,7 @@ function doAdminPost($action, $notice, $server){
|
||||
$response['result'] = 'FAIL';
|
||||
|
||||
if($action == 'notice') {
|
||||
RootDB::db()->update('SYSTEM', ['NOTICE'=>$notice], 'NO=1');
|
||||
RootDB::db()->update('SYSTEM', ['NOTICE'=>$notice], true);
|
||||
$response['result'] = 'SUCCESS';
|
||||
return $response;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user