Преглед изворни кода

Fixed bug with listing chado version (if less than 1.2)

Stephen Ficklin пре 10 година
родитељ
комит
824d52ff28
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      tripal_core/api/tripal_core.chado_schema.api.inc

+ 3 - 1
tripal_core/api/tripal_core.chado_schema.api.inc

@@ -214,7 +214,9 @@ function chado_get_version($exact = FALSE, $warn_if_unsupported = FALSE) {
     if (!$v) {
       $version =  "1.11 or older";
     }
-    $version =  $v->value;
+    else {
+      $version =  $v->value;
+    }
   }
 
   // next get the exact Chado version that is installed