xiaogang hace 4 años
padre
commit
46a2002137
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app/Services/UserService.php

+ 2 - 1
app/Services/UserService.php

@@ -224,7 +224,7 @@ class UserService
                     if($v['url']==$url){
                     if($v['url']==$url){
                         $has = true;
                         $has = true;
                         unset($photo[$k]);
                         unset($photo[$k]);
-
+                        break;
                     }
                     }
                 }
                 }
                 if(!$has){
                 if(!$has){
@@ -244,6 +244,7 @@ class UserService
                     if($v==$url){
                     if($v==$url){
                         $has = true;
                         $has = true;
                         unset($video[$k]);
                         unset($video[$k]);
+                        break;
                     }
                     }
                 }
                 }
                 if(!$has){
                 if(!$has){