Merged in bugfix/PMCORE-1194 (pull request #8358)
PMCORE-1194 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -1846,7 +1846,9 @@ class WsBase
|
||||
ob_start();
|
||||
print_r($variables);
|
||||
$cdata = ob_get_contents();
|
||||
ob_end_clean();
|
||||
if (ob_get_contents()) {
|
||||
ob_end_clean();
|
||||
}
|
||||
$up_case = $oCase->updateCase($caseId, $oldFields);
|
||||
|
||||
$result = new WsResponse(
|
||||
|
||||
@@ -954,7 +954,9 @@ class pmTablesProxy extends HttpProxyController
|
||||
}
|
||||
|
||||
//ob_end_clean is used to close the ob_start opening at the beginning of this method.
|
||||
ob_end_clean();
|
||||
if (ob_get_contents()) {
|
||||
ob_end_clean();
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,9 @@ switch ($request) {
|
||||
}
|
||||
|
||||
$x = ob_get_contents();
|
||||
ob_end_clean();
|
||||
if (ob_get_contents()) {
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
///////
|
||||
if ($_GET["menu"] == "plugins") {
|
||||
|
||||
@@ -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