Commit 4837645a authored by Dries's avatar Dries
Browse files

- Patch #688158 by moshe weitzman: query logger does not provide class information.

parent e7b9ad76
......@@ -150,6 +150,8 @@ public function findCaller() {
'file' => $stack[$i]['file'],
'line' => $stack[$i]['line'],
'function' => $stack[$i + 1]['function'],
'class' => isset($stack[$i + 1]['class']) ? $stack[$i + 1]['class'] : NULL,
'type' => isset($stack[$i + 1]['type']) ? $stack[$i + 1]['type'] : NULL,
'args' => $stack[$i + 1]['args'],
);
return $stack[$i];
......
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