From c9c34b53162efbbf0a859a4842b5faae9a0d0b37 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 6 Aug 2019 15:52:04 +0200 Subject: [PATCH] Minor - format code --- main/inc/lib/api.lib.php | 8 ++++---- main/inc/lib/tracking.lib.php | 1 + main/mySpace/access_details_session.php | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/main/inc/lib/api.lib.php b/main/inc/lib/api.lib.php index d9d411853d..b545033a6b 100644 --- a/main/inc/lib/api.lib.php +++ b/main/inc/lib/api.lib.php @@ -8795,11 +8795,11 @@ function api_create_protected_dir($name, $parentDirectory) * @param string email body * @param string sender name * @param string sender e-mail - * @param array $extra_headers in form $headers = array($name => $value) to allow parsing - * @param array $data_file (path and filename) - * @param bool $embedded_image True for attaching a embedded file inside content html (optional) + * @param array $extra_headers in form $headers = array($name => $value) to allow parsing + * @param array $data_file (path and filename) + * @param bool $embedded_image True for attaching a embedded file inside content html (optional) * @param array $additionalParameters - * @param string $sendErrorTo If there's an error while sending the email, $sendErrorTo will receive a notification + * @param string $sendErrorTo If there's an error while sending the email, $sendErrorTo will receive a notification * * @return int true if mail was sent * diff --git a/main/inc/lib/tracking.lib.php b/main/inc/lib/tracking.lib.php index 35f10f4d30..7988776c21 100755 --- a/main/inc/lib/tracking.lib.php +++ b/main/inc/lib/tracking.lib.php @@ -4333,6 +4333,7 @@ class Tracking return $count; } + return 0; } diff --git a/main/mySpace/access_details_session.php b/main/mySpace/access_details_session.php index 641278d1d0..aabf45006b 100644 --- a/main/mySpace/access_details_session.php +++ b/main/mySpace/access_details_session.php @@ -285,7 +285,7 @@ if ($form->validate()) { foreach ($record as $item) { $table->setCellContents($row, $column++, $item); if ($row == $countData) { - $table->setRowAttributes($row, ['style' => 'font-weight:bold']); + $table->setRowAttributes($row, ['style' => 'font-weight:bold']); } } $row++;