dever hace 3 años
padre
commit
1bd366d43a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Api.php

+ 1 - 1
src/Api.php

@@ -73,7 +73,7 @@ class Api
 			$value = explode(',', $value);
 			if ($data) {
 				foreach ($ids as $k => $v) {
-					if (isset($data[$v])) {
+					if (isset($data[$v]) && isset($cate[$cate_id])) {
 						$cate_id = $data[$v]['cate_id'];
 
 						if (!isset($result[$cate_id])) {