Skip to content

Commit

Permalink
Merge pull request #33 from laurentdavid/master
Browse files Browse the repository at this point in the history
Fix issue with deprecated language string (4.4)
  • Loading branch information
michael-milette authored Jul 22, 2024
2 parents bfe7e92 + 6a3a618 commit 1135ac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@
ob_end_flush();
ob_implicit_flush(true);
echo '<h2 class="alert-heading">' . get_string('testing', 'local_' . $pluginname) . '</h2>';
echo '<p>' . get_string('from') . ' : ' . $fromemail->email . '<br>
echo '<p>' . get_string('fromsender') . ' : ' . $fromemail->email . '<br>
&#129095; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#129095; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#129095;<br>
' . get_string('server', 'local_' . $pluginname, (empty($CFG->smtphosts) ? 'PHPMailer' : $CFG->smtphosts)) . '<br>
&#129095; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#129095; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#129095;<br>
' . get_string('to') . ' : ' . $toemail->email . '</p>';
' . get_string('torecipient') . ' : ' . $toemail->email . '</p>';
ob_implicit_flush(false);

// Manage Moodle SMTP debugging display.
Expand Down

0 comments on commit 1135ac5

Please sign in to comment.