瀏覽代碼

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;
 }