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

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