Pārlūkot izejas kodu

Update tripal_jbrowse_page/includes/tripal_jbrowse_page.page.inc

Co-Authored-By: Lacey-Anne Sanderson <las166@mail.usask.ca>
Yichao Shen 5 gadi atpakaļ
vecāks
revīzija
5e76f37e0e

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

@@ -7,7 +7,7 @@
 /**
  * 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){
     $instance = tripal_jbrowse_mgmt_get_instance($instance_id);
   }