合并分支 'akun' 到 'master'
Akun 查看合并请求 !688
正在显示
1 个修改的文件
包含
7 行增加
和
1 行删除
| @@ -809,7 +809,13 @@ class ProjectUpdate extends Command | @@ -809,7 +809,13 @@ class ProjectUpdate extends Command | ||
| 809 | 809 | ||
| 810 | $path_arr = explode('/', $path); | 810 | $path_arr = explode('/', $path); |
| 811 | 811 | ||
| 812 | - return end($path_arr) ? end($path_arr) : $path_arr[count($path_arr) - 2]; | 812 | + $route = end($path_arr) ? end($path_arr) : $path_arr[count($path_arr) - 2]; |
| 813 | + | ||
| 814 | + if (strpos($route, ',') !== false || strpos($route, ',') !== false) { | ||
| 815 | + return ''; | ||
| 816 | + } | ||
| 817 | + | ||
| 818 | + return $route; | ||
| 813 | } | 819 | } |
| 814 | 820 | ||
| 815 | //产品多级分类入库 | 821 | //产品多级分类入库 |
-
请 注册 或 登录 后发表评论