Commit 0384f319 authored by Alex Ne's avatar Alex Ne

Еще одна беда

parent 52dc50c4
......@@ -142,6 +142,7 @@ class EItem extends \Exception {
* @return mixed
*/
private function calcHash() {
if (is_array($this->Trace())) {
$re_trace = array_map(function ($item) {
if (isset($item["file"])) {
return [$item["file"], $item["line"]];
......@@ -149,6 +150,10 @@ class EItem extends \Exception {
return ["nofile", "noline"];
}
}, $this->Trace());
} else {
$re_trace = [];
}
return md5(serialize([
$this->object_name,
$this->host,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment