1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-31 10:04:20 +03:00

composer format

This commit is contained in:
David Goodwin
2019-08-13 09:24:30 +01:00
parent bee5fcbe24
commit 6a89b9a363
2 changed files with 10 additions and 18 deletions

View File

@ -564,7 +564,7 @@ function create_page_browser($idxfield, $querypart, $sql_params = []) {
# afterwards: DROP SEQUENCE foo
$result = db_query_all($query, $sql_params);
for($k = 0; $k < count($result); $k+=2) {
for ($k = 0; $k < count($result); $k+=2) {
if (isset($result[$k + 1])) {
$label = substr($result[$k]['label'], 0, $label_len) . '-' . substr($result[$k+1]['label'], 0, $label_len);
} else {
@ -1402,9 +1402,9 @@ function smtp_mail($to, $from, $data, $password = "", $body = "") {
fputs($fh, "STARTTLS\r\n");
smtp_get_response($fh);
stream_set_blocking ($fh, true);
stream_set_blocking($fh, true);
stream_socket_enable_crypto($fh, true, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT);
stream_set_blocking ($fh, true);
stream_set_blocking($fh, true);
}
fputs($fh, "EHLO $smtp_server\r\n");