소스 검색

修改bug

chenbo 4 년 전
부모
커밋
e568701c12
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/input_sina_simple.class.php

+ 1 - 1
lib/input_sina_simple.class.php

@@ -142,7 +142,7 @@ class Input_sina_simple
 
         foreach ($index as $key => $item) {
             if (!empty($item['code'])) {                            //判断非法股票代码
-                Index::addOrUpdateByCode($item['code']);
+                Index::addOrUpdateByCode($item);
             }
         }
         return;