From d89970ddd1244fa91a8d0aa9299476d4100f3461 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Fri, 4 Dec 2020 19:31:53 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/admin/modules.php | 2 +- htdocs/core/lib/admin.lib.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 7d6a3ff0454..e9984316394 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -720,7 +720,7 @@ if ($mode == 'common' || $mode == 'commonkanban') { // Activate/Disable and Setup (2 columns) if (!empty($conf->global->$const_name)) { // If module is already activated - // Set $codeenabledisable + // Set $codeenabledisable $disableSetup = 0; if (!empty($arrayofwarnings[$modName])) { $codeenabledisable .= ''."\n"; diff --git a/htdocs/core/lib/admin.lib.php b/htdocs/core/lib/admin.lib.php index 5206b7a47b7..b8cdf8cd085 100644 --- a/htdocs/core/lib/admin.lib.php +++ b/htdocs/core/lib/admin.lib.php @@ -241,7 +241,7 @@ function run_sql($sqlfile, $silent = 1, $entity = '', $usesavepoint = 1, $handle //print $buf.'
';exit; if (preg_match('/;/', $buffer)) { // If string contains ';', it's end of a request string, we save it in arraysql. - // Found new request + // Found new request if ($buffer) { $arraysql[$i] = $buffer; }