PMCORE-1194
This commit is contained in:
@@ -1846,7 +1846,9 @@ class WsBase
|
|||||||
ob_start();
|
ob_start();
|
||||||
print_r($variables);
|
print_r($variables);
|
||||||
$cdata = ob_get_contents();
|
$cdata = ob_get_contents();
|
||||||
|
if (ob_get_contents()) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
}
|
||||||
$up_case = $oCase->updateCase($caseId, $oldFields);
|
$up_case = $oCase->updateCase($caseId, $oldFields);
|
||||||
|
|
||||||
$result = new WsResponse(
|
$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 is used to close the ob_start opening at the beginning of this method.
|
||||||
|
if (ob_get_contents()) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
}
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,9 @@ switch ($request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$x = ob_get_contents();
|
$x = ob_get_contents();
|
||||||
|
if (ob_get_contents()) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
}
|
||||||
|
|
||||||
///////
|
///////
|
||||||
if ($_GET["menu"] == "plugins") {
|
if ($_GET["menu"] == "plugins") {
|
||||||
|
|||||||
@@ -474,7 +474,9 @@ class ReportTable
|
|||||||
|
|
||||||
$buildResult = ob_get_contents();
|
$buildResult = ob_get_contents();
|
||||||
|
|
||||||
|
if (ob_get_contents()) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
}
|
||||||
|
|
||||||
//Updating additional table struture information
|
//Updating additional table struture information
|
||||||
$addTabData = [
|
$addTabData = [
|
||||||
@@ -572,7 +574,9 @@ class ReportTable
|
|||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$buildResult = ob_get_contents();
|
$buildResult = ob_get_contents();
|
||||||
|
|
||||||
|
if (ob_get_contents()) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
}
|
||||||
|
|
||||||
$result->success = false;
|
$result->success = false;
|
||||||
|
|
||||||
@@ -833,7 +837,9 @@ class ReportTable
|
|||||||
ob_start();
|
ob_start();
|
||||||
$pmTable->buildModelFor($dbsUid, $tables);
|
$pmTable->buildModelFor($dbsUid, $tables);
|
||||||
$buildResult = ob_get_contents();
|
$buildResult = ob_get_contents();
|
||||||
|
if (ob_get_contents()) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
}
|
||||||
|
|
||||||
$errors .= $pmTable->upgradeDatabaseFor($pmTable->getDataSource(), $tables);
|
$errors .= $pmTable->upgradeDatabaseFor($pmTable->getDataSource(), $tables);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -379,7 +379,9 @@ class Table
|
|||||||
}
|
}
|
||||||
$pmTable->build();
|
$pmTable->build();
|
||||||
$buildResult = ob_get_contents();
|
$buildResult = ob_get_contents();
|
||||||
|
if (ob_get_contents()) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
}
|
||||||
unset($buildResult);
|
unset($buildResult);
|
||||||
|
|
||||||
// Updating additional table struture information
|
// Updating additional table struture information
|
||||||
@@ -586,7 +588,9 @@ class Table
|
|||||||
|
|
||||||
$pmTable->build();
|
$pmTable->build();
|
||||||
$buildResult = ob_get_contents();
|
$buildResult = ob_get_contents();
|
||||||
|
if (ob_get_contents()) {
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
}
|
||||||
unset($buildResult);
|
unset($buildResult);
|
||||||
|
|
||||||
$addTabData = [
|
$addTabData = [
|
||||||
|
|||||||
Reference in New Issue
Block a user