We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15e100f commit dc77276Copy full SHA for dc77276
common/php/oboparser.php
@@ -9,9 +9,9 @@ function OBOParser($in)
9
10
if(strstr($l,"[Term]")) {
11
if(isset($term)) {
12
- $terms[$term['id'][0]] = $term;
+ $terms[$term['id'][0]] = $term;
13
}
14
- $term = '';
+ $term = array();
15
} else if(strstr($l,"[Typedef]")) {
16
17
$terms[$term['id'][0]] = $term;
@@ -27,7 +27,7 @@ function OBOParser($in)
27
if(count($m)) {
28
$a[1] = $m[1];
29
30
- $term[$a[0]][] = $a[1];
+ $term[$a[0]][] = $a[1];
31
32
} else if(isset($typedef)) {
33
0 commit comments