Parcourir la source

Update tripal_jbrowse_page/includes/tripal_jbrowse_page.page.inc

Co-Authored-By: Lacey-Anne Sanderson <las166@mail.usask.ca>
Yichao Shen il y a 5 ans
Parent
commit
5e76f37e0e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      tripal_jbrowse_page/includes/tripal_jbrowse_page.page.inc

+ 1 - 1
tripal_jbrowse_page/includes/tripal_jbrowse_page.page.inc

@@ -7,7 +7,7 @@
 /**
 /**
  * Redirect to the JBrowse Instance.
  * Redirect to the JBrowse Instance.
  */
  */
-function tripal_jbrowse_page_page($scientific_name, $instance_id) {
+function tripal_jbrowse_page_page($scientific_name, $instance_id = NULL) {
   if($instance_id){
   if($instance_id){
     $instance = tripal_jbrowse_mgmt_get_instance($instance_id);
     $instance = tripal_jbrowse_mgmt_get_instance($instance_id);
   }
   }