Skip to content
This repository has been archived by the owner on Dec 7, 2017. It is now read-only.

Commit

Permalink
Merge branch 'jira/OEM-258'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Wadham committed Nov 6, 2014
2 parents 2209f2e + 738bb77 commit e9f2afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/LetterStringBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function shouldShow($patient, $event_types)

if ( ($api = Yii::app()->moduleAPI->get($this->event_type)) &&
($episode = $patient->getEpisodeForCurrentSubspecialty()) ) {
return $api->getElementForLatestEventInEpisode($patient, $episode, $this->element_type);
return $api->getElementForLatestEventInEpisode($episode, $this->element_type);
}

return false;
Expand Down

0 comments on commit e9f2afb

Please sign in to comment.