소스 검색

Small bug fix.

Lacey Sanderson 5 년 전
부모
커밋
5d2c2b2678
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tripal_jbrowse_mgmt/includes/tripal_jbrowse_mgmt.api.inc

+ 1 - 1
tripal_jbrowse_mgmt/includes/tripal_jbrowse_mgmt.api.inc

@@ -409,7 +409,7 @@ function tripal_jbrowse_mgmt_build_http_query($instance) {
   }
   // Otherwise, show all tracks that were added using this module.
   elseif (!empty($added_tracks)) {
-    $tracks_path = implode(',', array_map(function ($added_tracks) {
+    $tracks_path = implode(',', array_map(function ($track) {
       return tripal_jbrowse_mgmt_make_slug($track->label);
     }, $added_tracks));
   }