Skip to content

Commit 74af641

Browse files
ignore the http links
1 parent 7798574 commit 74af641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: refseq/refseq.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function process(){
212212
$p = "/(\S+)\=(.*)/";
213213
preg_match($p, $aL, $m);
214214
if(count($m)){
215-
if($m[1] == "db_xref"){
215+
if($m[1] == "db_xref" and strstr($m[2],"http") !== FALSE){
216216
parent::AddRDF(
217217
parent::triplify($feat_res, "rdfs:seeAlso", str_replace("\"", "", $m[2]))
218218
);

0 commit comments

Comments
 (0)