Fixing style errors.
This commit is contained in:
parent
c8407b2f91
commit
d89970ddd1
@ -720,7 +720,7 @@ if ($mode == 'common' || $mode == 'commonkanban') {
|
|||||||
|
|
||||||
// Activate/Disable and Setup (2 columns)
|
// Activate/Disable and Setup (2 columns)
|
||||||
if (!empty($conf->global->$const_name)) { // If module is already activated
|
if (!empty($conf->global->$const_name)) { // If module is already activated
|
||||||
// Set $codeenabledisable
|
// Set $codeenabledisable
|
||||||
$disableSetup = 0;
|
$disableSetup = 0;
|
||||||
if (!empty($arrayofwarnings[$modName])) {
|
if (!empty($arrayofwarnings[$modName])) {
|
||||||
$codeenabledisable .= '<!-- This module has a warning to show when we activate it (note: your country is '.$mysoc->country_code.') -->'."\n";
|
$codeenabledisable .= '<!-- This module has a warning to show when we activate it (note: your country is '.$mysoc->country_code.') -->'."\n";
|
||||||
|
|||||||
@ -241,7 +241,7 @@ function run_sql($sqlfile, $silent = 1, $entity = '', $usesavepoint = 1, $handle
|
|||||||
//print $buf.'<br>';exit;
|
//print $buf.'<br>';exit;
|
||||||
|
|
||||||
if (preg_match('/;/', $buffer)) { // If string contains ';', it's end of a request string, we save it in arraysql.
|
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) {
|
if ($buffer) {
|
||||||
$arraysql[$i] = $buffer;
|
$arraysql[$i] = $buffer;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user