From be151a1149b6711af15bcd07fc4d9e2dc896d503 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 6 Aug 2019 10:54:40 +0200 Subject: [PATCH] Minor - flint fixes --- load_search.php | 2 +- main/exercise/exercise.class.php | 1 - main/inc/lib/api.lib.php | 8 ++++---- main/inc/lib/sessionmanager.lib.php | 4 ++-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/load_search.php b/load_search.php index bb2a3e5721..51960f8332 100644 --- a/load_search.php +++ b/load_search.php @@ -847,7 +847,7 @@ if (!empty($filterToSend)) { // see https://task.beeznest.com/issues/10849#change-81902 foreach ($filterToSend['rules'] as &$filterItem) { if (isset($filterItem['field'])) { - switch($filterItem['field']) { + switch ($filterItem['field']) { case 'extra_filiere': case 'extra_domaine': case 'extra_theme_it': diff --git a/main/exercise/exercise.class.php b/main/exercise/exercise.class.php index dc7fe6cc4f..a3594eed90 100755 --- a/main/exercise/exercise.class.php +++ b/main/exercise/exercise.class.php @@ -1,7 +1,6 @@ $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/sessionmanager.lib.php b/main/inc/lib/sessionmanager.lib.php index fbe2e03cc4..f87cfd5b8b 100755 --- a/main/inc/lib/sessionmanager.lib.php +++ b/main/inc/lib/sessionmanager.lib.php @@ -458,8 +458,8 @@ class SessionManager /** * Gets the admin session list callback of the session/session_list.php page. * - * @param array $options order and limit keys - * @param bool $get_count Whether to get all the results or only the count + * @param array $options order and limit keys + * @param bool $get_count Whether to get all the results or only the count * @param array $columns * @param array $extraFieldsToLoad * @param string $language