Browse Source

still getting a zero

pull/1/head
Friendika 11 years ago
parent
commit
b168847b56
  1. 8
      mod/settings.php

8
mod/settings.php

@ -289,10 +289,10 @@ function settings_content(&$a) {
local_user()
);
$mail_server = ((count($r)) ? $r[0]['server'] : '');
$mail_port = ((count($r)) ? intval($r[0]['port']) : '');
$mail_ssl = ((count($r)) ? $r[0]['ssltype'] : '');
$mail_user = ((count($r)) ? $r[0]['user'] : '');
$mail_server = ((count($r)) ? $r[0]['server'] : '');
$mail_port = ((count($r) && intval($r[0]['port'])) ? intval($r[0]['port']) : '');
$mail_ssl = ((count($r)) ? $r[0]['ssltype'] : '');
$mail_user = ((count($r)) ? $r[0]['user'] : '');
$mail_replyto = ((count($r)) ? $r[0]['reply_to'] : '');
$mail_pubmail = ((count($r)) ? $r[0]['pubmail'] : 0);

Loading…
Cancel
Save