From f9af7bc1144bc3e607cdd164d211ec4e77bdd1a6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 13 Sep 2020 14:42:56 +0200 Subject: [PATCH] Fix phpcs --- htdocs/core/ajax/check_notifications.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/ajax/check_notifications.php b/htdocs/core/ajax/check_notifications.php index b70afe936f7..f8a30e69aa9 100644 --- a/htdocs/core/ajax/check_notifications.php +++ b/htdocs/core/ajax/check_notifications.php @@ -61,7 +61,7 @@ if ($action == 'stopreminder') { $listofreminderidsarray = explode('-', GETPOST('listofreminderids', 'aZ09')); // Set the reminder as done - foreach($listofreminderidsarray as $listofreminderid) { + foreach ($listofreminderidsarray as $listofreminderid) { if (empty($listofreminderid)) continue; //$sql = 'DELETE FROM '.MAIN_DB_PREFIX.'action_reminder WHERE rowid = '.$listofreminderid.' AND fk_user = '.$user->id; $sql = 'UPDATE '.MAIN_DB_PREFIX.'actioncomm_reminder SET status = 1'; @@ -72,7 +72,7 @@ if ($action == 'stopreminder') { } } - include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'); + include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; // Clean database $sql = 'DELETE FROM '.MAIN_DB_PREFIX.'actioncomm_reminder';