Merged in bugfix/HOR-3379 (pull request #5737)
HOR-3379 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -2912,19 +2912,20 @@ class AppSolr
|
||||
$oAppSolrQueue->createUpdate ($AppUid, $traceData, $updated);
|
||||
}
|
||||
|
||||
private function getCurrentTraceInfo()
|
||||
{
|
||||
$resultTraceString = "";
|
||||
|
||||
//
|
||||
$traceData = debug_backtrace();
|
||||
foreach ($traceData as $key => $value) {
|
||||
if($value['function'] != 'getCurrentTraceInfo' && $value['function'] != 'require_once')
|
||||
$resultTraceString .= $value['file'] . " (" . $value['line'] . ") " . $value['function'] . "\n";
|
||||
private function getCurrentTraceInfo()
|
||||
{
|
||||
$resultTraceString = "";
|
||||
$traceData = debug_backtrace();
|
||||
foreach ($traceData as $key => $value) {
|
||||
if ($value['function'] != 'getCurrentTraceInfo' && $value['function'] != 'require_once') {
|
||||
if (isset($value['file']) && isset($value['line']) && isset($value['function'])) {
|
||||
$resultTraceString .= $value['file'] . " (" . $value['line'] . ") " . $value['function'] . "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
return $resultTraceString;
|
||||
}
|
||||
return $resultTraceString;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Update application records in Solr that are stored in APP_SOLR_QUEUE table
|
||||
*/
|
||||
|
||||
@@ -1152,7 +1152,9 @@ class Cases
|
||||
//Logger deleteCase
|
||||
$nameFiles = '';
|
||||
foreach (debug_backtrace() as $node) {
|
||||
$nameFiles .= $node['file'] . ":" . $node['function'] . "(" . $node['line'] . ")\n";
|
||||
if (isset($node['file']) && isset($node['function']) && isset($node['line'])) {
|
||||
$nameFiles .= $node['file'] . ":" . $node['function'] . "(" . $node['line'] . ")\n";
|
||||
}
|
||||
}
|
||||
$dataLog = \Bootstrap::getDefaultContextLog();
|
||||
$dataLog['usrUid'] = isset($_SESSION['USER_LOGGED']) ? $_SESSION['USER_LOGGED'] : G::LoadTranslation('UID_UNDEFINED_USER');
|
||||
|
||||
Reference in New Issue
Block a user