Skip to content

Commit a5ad495

Browse files
Merge pull request #384 from micheldumontier/release3
clinicaltrials: fixed bug in parsing overall status
2 parents 2c52c35 + f678c09 commit a5ad495

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)