shish 6 лет назад
Родитель
Сommit
7a6bf4d264
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/business/controllers/UserController.php

+ 1 - 1
app/business/controllers/UserController.php

@@ -78,7 +78,7 @@ class UserController extends BaseController
 	public function actionAdd()
 	{
 		$post = Yii::$app->request->post();
-		if (isset($post['mobile']) == false || stringUtil::isMobile($post['mobile'])) {
+		if (isset($post['mobile']) == false || stringUtil::isMobile($post['mobile']) == false) {
 			util::fail('请输入手机号');
 		}
 		if ($post['mobile'] != $post['confirmMobile']) {