소스 검색

Update OpenController.class.php

star7th 7 년 전
부모
커밋
e13357295b
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      server/Application/Api/Controller/OpenController.class.php

+ 2 - 1
server/Application/Api/Controller/OpenController.class.php

@@ -76,8 +76,9 @@ class OpenController extends BaseController {
                     continue;
                 }
                 $array2 = explode("\t", $value);
+                $table_name = str_replace(PHP_EOL, '', $array2[0]); 
                 $tables[$array2[0]] = array(
-                    "table_name" => $array2[0] ,
+                    "table_name" => $table_name ,
                     "table_comment" => $array2[1] ,
                     );
             }