浏览代码

Merge branch 'develop'

star7th 9 年之前
父节点
当前提交
22e3e4ae22
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Application/Home/Controller/ItemController.class.php

+ 1 - 1
Application/Home/Controller/ItemController.class.php

@@ -58,7 +58,7 @@ class ItemController extends BaseController {
                     $this->message(L('domain_already_exists'));
                     return false;
                 }
-                if(!ctype_alnum($item_domain)){
+                if(!ctype_alnum($item_domain) ||  is_numeric($item_domain) ){
                     //echo '个性域名只能是字母或数字的组合';exit;
                     $this->message(L('item_domain_illegal'));
                     return false;