Skip to content

Commit 2570f3a

Browse files
escape allele label
1 parent 0d1b76b commit 2570f3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sgd/sgd.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -1052,8 +1052,9 @@ function phenotype(){
10521052
*/
10531053

10541054
if(trim($a[7]) != ''){
1055+
$allele = addslashes($a[7]);
10551056
$this->AddRDF(
1056-
parent::triplifyString($this->getRes().$eid, $this->getVoc()."allele", $a[7]).
1057+
parent::triplifyString($this->getRes().$eid, $this->getVoc()."allele", $allele).
10571058
parent::describeProperty($this->getVoc()."allele", "Relationship between an SGD experiment and an allele")
10581059
);
10591060
}

0 commit comments

Comments
 (0)