Skip to content

Commit

Permalink
psr2 fixes for prior MedEx api 5.0.2 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Nov 12, 2018
1 parent 13949ee commit e61b2c6
Show file tree
Hide file tree
Showing 5 changed files with 201 additions and 199 deletions.
2 changes: 1 addition & 1 deletion interface/main/messages/messages.php
Expand Up @@ -41,7 +41,7 @@
$MedEx = new MedExApi\MedEx('MedExBank.com');

if ($GLOBALS['medex_enable'] == '1') {
if ($_REQUEST['SMS_bot']) {
if ($_REQUEST['SMS_bot']) {
$result = $MedEx->login('1');
$MedEx->display->SMS_bot($result['status']);
exit();
Expand Down
2 changes: 1 addition & 1 deletion interface/main/messages/save.php
Expand Up @@ -120,7 +120,7 @@
PHONE_country_code,LABELS_local,LABELS_choice)
VALUES (?,?,?,?,?,?,?,?,?,?)";
sqlStatement($sqlINSERT, array($response['customer_id'], $response['API_key'], $_POST['new_email'], $facilities, $providers, "1", "1", "1", "1", "5160"));
}
}

$info = $MedEx->login('1');

Expand Down
6 changes: 4 additions & 2 deletions interface/patient_tracker/patient_tracker.php
Expand Up @@ -617,9 +617,11 @@ class='fa fa-caret-<?php echo $caret = ($setting_selectors == 'none') ? 'down' :

if ($row['msg_reply'] == 'Other') {
$other_title .= $row['msg_extra_text'] . "\n";
$icon_extra .= str_replace("EXTRA",
$icon_extra .= str_replace(
"EXTRA",
attr(oeFormatShortDate($row['msg_date'])) . "\n" . xla('Patient Message') . ":\n" . attr($row['msg_extra_text']) . "\n",
$icons[$row['msg_type']]['EXTRA']['html']);
$icons[$row['msg_type']]['EXTRA']['html']
);
continue;
} elseif ($row['msg_reply'] == 'CANCELLED') {
$appointment[$row['msg_type']]['stage'] = "CANCELLED";
Expand Down

0 comments on commit e61b2c6

Please sign in to comment.