mirror of
https://github.com/v2board/v2board.git
synced 2025-12-16 18:32:10 +08:00
opt 1.2.3
This commit is contained in:
@@ -178,7 +178,7 @@ class ServerController extends Controller
|
|||||||
if (!$server) {
|
if (!$server) {
|
||||||
abort(500, '服务器不存在');
|
abort(500, '服务器不存在');
|
||||||
}
|
}
|
||||||
if (!Server::create($server)) {
|
if (!Server::create($server->toArray())) {
|
||||||
abort(500, '复制失败');
|
abort(500, '复制失败');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user