fix bug of checking parameters

This commit is contained in:
printempw 2016-07-29 21:22:33 +08:00
parent 2e2f15ac1a
commit a14c1c1a0e

View File

@ -191,8 +191,6 @@ class SkinlibController extends BaseController
public function privacy($tid)
{
\Utils::checkPost(['tid']);
$t = Texture::find($tid);
if (!$t) View::json('Unexistent texture.', 1);