Browse Source

testing a fix

Stephen Ficklin 13 years ago
parent
commit
b6ae576a7b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tripal_db/tripal_db.api.inc

+ 2 - 1
tripal_db/tripal_db.api.inc

@@ -315,7 +315,8 @@ function tripal_db_add_dbxref($db_id,$accession,$version='',$description=''){
 
    // check to see if the dbxref exists if not, add it
    $dbxsql = "
-      SELECT * 
+      SELECT DBX.dbxref_id, DBX.db_id, DBX.description, DBX.version, DBX.accession,
+         DB.name as db_name
       FROM {dbxref} DBX
          INNER JOIN db DB on DB.db_id = DBX.db
       WHERE DBX.db_id = %d and DBX.accession = '%s'