(Batch Routing) Uncaught TypeError: Cannot read property 'replace' of null
This commit is contained in:
dheeyi william
2017-03-17 12:13:36 -04:00
parent 40564a59e8
commit aafb5ddaef
4 changed files with 479 additions and 311 deletions

View File

@@ -59,7 +59,7 @@ while ($rsSql->next()) {
$grdTitle = htmlentities($proTitle . " / " . $tabTitle, ENT_QUOTES, "UTF-8");
$tabTitle = htmlentities(substr($proTitle, 0, 25) . ((strlen($proTitle) > 25) ? "..." : null) . " / " . $tabTitle, ENT_QUOTES, "UTF-8");
$arrayTabItem[] = "
{
title: \"<span onmouseover=\\\"toolTipTab('$grdTitle', 1);\\\" onmouseout=\\\"toolTipTab('', 0);\\\">$tabTitle</span>\",

View File

@@ -151,7 +151,8 @@ class Consolidated extends Api
try {
$usr_uid = $this->getUserId();
$consolidated = new \ProcessMaker\BusinessModel\Consolidated();
return $consolidated->postDerivate($app_uid, $app_number, $del_index, $usr_uid,$field_grid, str_replace('__FRASL__', '/', $field_grid_val));
return $consolidated->postDerivate($app_uid, $app_number, $del_index, $usr_uid, $field_grid,
str_replace('__FRASL__', '/', $field_grid_val));
} catch (\Exception $e) {
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
}

File diff suppressed because it is too large Load Diff