diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-04-09 10:18:46 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-09 10:18:46 +0200 |
commit | e79a027e7775bba652339232764bd95e817217b7 (patch) | |
tree | 8f66ef2ca7235c3a5aa8a1d1284b1a2e11f24461 /settings | |
parent | 796f71954847681f85038c8c27b178dc8f2e0895 (diff) | |
download | nextcloud-server-e79a027e7775bba652339232764bd95e817217b7.tar.gz nextcloud-server-e79a027e7775bba652339232764bd95e817217b7.zip |
Always define sendmail_is_available
Fix #8048
Diffstat (limited to 'settings')
-rwxr-xr-x | settings/admin.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/settings/admin.php b/settings/admin.php index ea8aa7af5d0..e75ca940ae6 100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -20,9 +20,7 @@ $entries=OC_Log_Owncloud::getEntries(3); $entriesremain = count(OC_Log_Owncloud::getEntries(4)) > 3; // Should we display sendmail as an option? -if (findBinaryPath('sendmailsendmail')) { - $tmpl->assign('sendmail_is_available', true); -} +$tmpl->assign('sendmail_is_available', (bool) findBinaryPath('sendmailsendmail')); $tmpl->assign('loglevel', OC_Config::getValue( "loglevel", 2 )); $tmpl->assign('mail_domain', OC_Config::getValue( "mail_domain", '' )); |