소스 검색

Testing non-instantiated objects

spficklin 13 년 전
부모
커밋
d42c29847b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      base/tripal_feature/tripal_feature.module

+ 1 - 0
base/tripal_feature/tripal_feature.module

@@ -942,6 +942,7 @@ function chado_feature_load($node){
    $values = array('feature_id' => $feature_id);
    $feature = tripal_core_generate_chado_var('feature',$values);
 
+   $addition = new stdClass();
    $additions->feature = $feature;
    return $additions;
 }