mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
fix bug of checking parameters
This commit is contained in:
parent
2e2f15ac1a
commit
a14c1c1a0e
@ -191,8 +191,6 @@ class SkinlibController extends BaseController
|
|||||||
|
|
||||||
public function privacy($tid)
|
public function privacy($tid)
|
||||||
{
|
{
|
||||||
\Utils::checkPost(['tid']);
|
|
||||||
|
|
||||||
$t = Texture::find($tid);
|
$t = Texture::find($tid);
|
||||||
|
|
||||||
if (!$t) View::json('Unexistent texture.', 1);
|
if (!$t) View::json('Unexistent texture.', 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user