PM-2935: I solved some issue with Batch routing
This commit is contained in:
@@ -1546,7 +1546,7 @@ class processMap
|
||||
|
||||
if ($iForm == 8) {
|
||||
$oCaseConsolidated = CaseConsolidatedCorePeer::retrieveByPK($_SESSION["cDhTajE2T2lxSkhqMzZUTXVacWYyNcKwV3A4eWYybDdyb1p3"]["TAS_UID"]);
|
||||
if ((is_object($oCaseConsolidated)) && get_class($oCaseConsolidated) == "CaseConsolidated") {
|
||||
if ((is_object($oCaseConsolidated)) && get_class($oCaseConsolidated) == "CaseConsolidatedCore") {
|
||||
require_once ("classes/model/ReportTable.php");
|
||||
|
||||
$aFields["CON_STATUS"] = $oCaseConsolidated->getConStatus();
|
||||
|
||||
@@ -590,10 +590,10 @@ class ajax_con extends WebResource
|
||||
$sRepTabUid = "";
|
||||
}
|
||||
|
||||
$oCaseConsolidated = CaseConsolidatedPeer::retrieveByPK($sTasUid);
|
||||
$oCaseConsolidated = CaseConsolidatedCorePeer::retrieveByPK($sTasUid);
|
||||
|
||||
if (!(is_object($oCaseConsolidated)) || get_class($oCaseConsolidated) != 'CaseConsolidated') {
|
||||
$oCaseConsolidated = new CaseConsolidated();
|
||||
$oCaseConsolidated = new CaseConsolidatedCore();
|
||||
$oCaseConsolidated->setTasUid($sTasUid);
|
||||
}
|
||||
|
||||
|
||||
@@ -255,7 +255,7 @@ class Consolidated
|
||||
$tableUid = $item["REP_TAB_UID"];
|
||||
$tableName = $row["REP_TAB_NAME"];
|
||||
} else {
|
||||
throw (new Exception("Not found the report table"));
|
||||
throw new \Exception("Not found the report table");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user