Browse Source

Update TeamItemController.class.php

star7th 5 years ago
parent
commit
85f93e3c76
1 changed files with 2 additions and 2 deletions
  1. 2 2
      server/Application/Api/Controller/TeamItemController.class.php

+ 2 - 2
server/Application/Api/Controller/TeamItemController.class.php

@@ -25,7 +25,7 @@ class TeamItemController extends BaseController {
             $item_id = intval($value) ;
             if(!$this->checkItemCreator($uid , $item_id)){
                 $this->sendError(10303);
-                continue ;
+                return ;
             }
 
             if (D("TeamItem")->where("  team_id = '$team_id' and item_id = '$item_id' ")->find()) {
@@ -150,4 +150,4 @@ class TeamItemController extends BaseController {
 
 
 
-}
+}