From fff358f040a5ea25e03b5c1240f582dc27dc6708 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Sun, 18 Apr 2021 20:28:36 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/admin/modules.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index f79f4ba1c32..84bf924139c 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -733,8 +733,7 @@ if ($mode == 'common' || $mode == 'commonkanban') { $checkRes = $objMod->checkForUpdate(); if ($checkRes > 0) { setEventMessage($objMod->getName().' : '.$versiontrans.' -> '.$objMod->lastVersion); - } - elseif ($checkRes < 0) { + } elseif ($checkRes < 0) { setEventMessage($objMod->getName().' '.$langs->trans('CheckVersionFail'), 'warnings'); } } @@ -916,8 +915,7 @@ if ($mode == 'common' || $mode == 'commonkanban') { if ($objMod->needUpdate) { $versionTitle = $langs->trans('ModuleUpdateAvailable').' : '.$objMod->lastVersion; print ''.$versiontrans.''; - } - else{ + } else { print $versiontrans; } print "\n";