PMCORE-1194
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user