This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-06-13 10:42:09 -04:00
parent 440c2e5f22
commit 83dab41b53

View File

@@ -1152,8 +1152,10 @@ class Cases
//Logger deleteCase //Logger deleteCase
$nameFiles = ''; $nameFiles = '';
foreach (debug_backtrace() as $node) { foreach (debug_backtrace() as $node) {
if (isset($node['file']) && isset($node['function']) && isset($node['line'])) {
$nameFiles .= $node['file'] . ":" . $node['function'] . "(" . $node['line'] . ")\n"; $nameFiles .= $node['file'] . ":" . $node['function'] . "(" . $node['line'] . ")\n";
} }
}
$dataLog = \Bootstrap::getDefaultContextLog(); $dataLog = \Bootstrap::getDefaultContextLog();
$dataLog['usrUid'] = isset($_SESSION['USER_LOGGED']) ? $_SESSION['USER_LOGGED'] : G::LoadTranslation('UID_UNDEFINED_USER'); $dataLog['usrUid'] = isset($_SESSION['USER_LOGGED']) ? $_SESSION['USER_LOGGED'] : G::LoadTranslation('UID_UNDEFINED_USER');
$dataLog['appUid'] = $sAppUid; $dataLog['appUid'] = $sAppUid;