From bd577e253a1a5be51cd4edd57e5a4cfabde02699 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 14 Sep 2020 22:31:57 +0200 Subject: [PATCH] Fix phpcs --- htdocs/comm/action/card.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/action/card.php b/htdocs/comm/action/card.php index 4ea9f3ef6f3..8c14a524681 100644 --- a/htdocs/comm/action/card.php +++ b/htdocs/comm/action/card.php @@ -1675,7 +1675,8 @@ if ($id > 0) if (count($object->reminders) > 0) { if (count($object->reminders) > 0) { $tmpuserstatic = new User($db); - foreach($object->reminders as $actioncommreminderid => $actioncommreminder) { + + foreach ($object->reminders as $actioncommreminderid => $actioncommreminder) { print $TRemindTypes[$actioncommreminder->typeremind]; if ($actioncommreminder->fk_user > 0) { $tmpuserstatic->fetch($actioncommreminder->fk_user); @@ -1985,7 +1986,8 @@ if ($id > 0) if (count($object->reminders) > 0) { $tmpuserstatic = new User($db); - foreach($object->reminders as $actioncommreminderid => $actioncommreminder) { + + foreach ($object->reminders as $actioncommreminderid => $actioncommreminder) { print $TRemindTypes[$actioncommreminder->typeremind]; if ($actioncommreminder->fk_user > 0) { $tmpuserstatic->fetch($actioncommreminder->fk_user);