Skip to content

Commit f678c09

Browse files
fixed bug in parsing overall status
1 parent c0b1daa commit f678c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clinicaltrials/clinicaltrials.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ function process_file($infile) {
364364
#################################################################################
365365
# overall status
366366
#################################################################################
367-
$overall_status = @array_shift($root->xpath('//overall_status'));
367+
$overall_status = $this->getString('//overall_status');
368368
if($overall_status) {
369369
$status_id = "clinicaltrials_resource:".md5($overall_status);
370370
parent::addRDF(

0 commit comments

Comments
 (0)