Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-09-14 22:31:57 +02:00
parent 6dd1f522eb
commit bd577e253a

View File

@ -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);