|  | @@ -1118,7 +1118,6 @@ function tripal_feature_match_features_page($id) {
 | 
											
												
													
														|  |      // iterate through the matches and build the table for showing matches
 |  |      // iterate through the matches and build the table for showing matches
 | 
											
												
													
														|  |      $header = array('Uniquename', 'Name', 'Type', 'Species', 'Synonyms');
 |  |      $header = array('Uniquename', 'Name', 'Type', 'Species', 'Synonyms');
 | 
											
												
													
														|  |      $rows = array();
 |  |      $rows = array();
 | 
											
												
													
														|  | -    $curr_match;
 |  | 
 | 
											
												
													
														|  |      while ($match = $results->fetchObject()) {
 |  |      while ($match = $results->fetchObject()) {
 | 
											
												
													
														|  |        $curr_match = $match;
 |  |        $curr_match = $match;
 | 
											
												
													
														|  |        $synonyms = $match->synonyms;
 |  |        $synonyms = $match->synonyms;
 | 
											
										
											
												
													
														|  | @@ -1132,7 +1131,7 @@ function tripal_feature_match_features_page($id) {
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |        // If we didn't find an entity ID we need to check nodes for
 |  |        // If we didn't find an entity ID we need to check nodes for
 | 
											
												
													
														|  |        // backwards compatibility with Tv2.
 |  |        // backwards compatibility with Tv2.
 | 
											
												
													
														|  | -      if (!$entity_id and module_exists(tripal_feature)) {
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (!$entity_id and module_exists('tripal_feature')) {
 | 
											
												
													
														|  |          $nid = chado_get_nid_from_id('feature', $curr_match->feature_id);
 |  |          $nid = chado_get_nid_from_id('feature', $curr_match->feature_id);
 | 
											
												
													
														|  |          $link = "node/" . $nid;
 |  |          $link = "node/" . $nid;
 | 
											
												
													
														|  |        }
 |  |        }
 |