ソースを参照

Fixed minor bug in featureloc field

Stephen Ficklin 8 年 前
コミット
a2f03363e2
1 ファイル変更1 行追加1 行削除
  1. 1 1
      tripal_chado/includes/fields/chado_linker__featureloc.inc

+ 1 - 1
tripal_chado/includes/fields/chado_linker__featureloc.inc

@@ -131,7 +131,7 @@ class chado_linker__featureloc extends TripalField {
          $strand = '+';
       }
       // if this is a match then make the other location
-      if(array_key_exists($alignment, 'right_feature')){
+      if(array_key_exists('right_feature', $alignment)){
         $rstrand = '.';
         if ($alignment['right_strand'] == -1) {
           $rstrand = '-';