提交 0ec56725 编写于 作者: J jianbo

修改formId的拼写错误

上级 ae6035b3
......@@ -395,7 +395,7 @@ class RAM_REST_Comments_Controller extends WP_REST_Controller{
}
if(!empty($fromId) && strlen($fromId>50))
if(!empty($formId) && strlen($formId>50))
{
return new WP_Error( 'error', 'fromId参数错误', array( 'status' => 400 ) );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册