소스 검색

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 = '-';