PMCORE-1194

This commit is contained in:
Paula Quispe
2022-01-24 16:48:45 -04:00
parent cbc0ea65f2
commit e25d58dd8c
5 changed files with 24 additions and 8 deletions

View File

@@ -474,7 +474,9 @@ class ReportTable
$buildResult = ob_get_contents();
ob_end_clean();
if (ob_get_contents()) {
ob_end_clean();
}
//Updating additional table struture information
$addTabData = [
@@ -572,7 +574,9 @@ class ReportTable
} catch (Exception $e) {
$buildResult = ob_get_contents();
ob_end_clean();
if (ob_get_contents()) {
ob_end_clean();
}
$result->success = false;
@@ -833,7 +837,9 @@ class ReportTable
ob_start();
$pmTable->buildModelFor($dbsUid, $tables);
$buildResult = ob_get_contents();
ob_end_clean();
if (ob_get_contents()) {
ob_end_clean();
}
$errors .= $pmTable->upgradeDatabaseFor($pmTable->getDataSource(), $tables);
}

View File

@@ -379,7 +379,9 @@ class Table
}
$pmTable->build();
$buildResult = ob_get_contents();
ob_end_clean();
if (ob_get_contents()) {
ob_end_clean();
}
unset($buildResult);
// Updating additional table struture information
@@ -586,7 +588,9 @@ class Table
$pmTable->build();
$buildResult = ob_get_contents();
ob_end_clean();
if (ob_get_contents()) {
ob_end_clean();
}
unset($buildResult);
$addTabData = [