Parcourir la source

Small bug fix.

Lacey Sanderson il y a 5 ans
Parent
commit
5d2c2b2678
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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));
   }