Explorar o código

Merge branch 'develop'

star7th %!s(int64=9) %!d(string=hai) anos
pai
achega
22e3e4ae22
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;