summaryrefslogtreecommitdiff
path: root/classes/Pref_System.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Pref_System.php')
-rw-r--r--classes/Pref_System.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/Pref_System.php b/classes/Pref_System.php
index e85c1134d..2220199e7 100644
--- a/classes/Pref_System.php
+++ b/classes/Pref_System.php
@@ -197,9 +197,13 @@ class Pref_System extends Handler_Administrative {
<?= \Controls\hidden_tag("op", "Pref_System") ?>
<?= \Controls\hidden_tag("method", "sendTestEmail") ?>
+ <?php
+ $user = ORM::for_table('ttrss_users')->find_one($_SESSION["uid"]);
+ ?>
+
<fieldset>
<label><?= __("To:") ?></label>
- <?= \Controls\input_tag("mail_address", "", "text", ['required' => 1]) ?>
+ <?= \Controls\input_tag("mail_address",$user->email, "text", ['required' => 1]) ?>
<?= \Controls\submit_tag(__("Send test email")) ?>
<span style="display: none; margin-left : 10px" class="alert alert-error" id="mail-test-result">...</span>
</fieldset>