Skip to content

Commit

Permalink
Update runtime/lib/connection/PropelPDO.php
Browse files Browse the repository at this point in the history
Co-authored-by: Adriano <[email protected]>
  • Loading branch information
haruanm and adrianoadum authored Jan 26, 2021
1 parent 62ca2de commit 176e689
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/lib/connection/PropelPDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -655,10 +655,10 @@ public function log($msg, $level = null, $methodName = null, array $debugSnapsho
function generateCallTrace()
{
$stacktrace = debug_backtrace(2);
$stackLog = '';
$stackLog = '';
foreach ($stacktrace as $stack) {
$file = isset($stack['file']) ? $stack['file'] : "Unknown file";
$line = isset($stack['line']) ? $stack['line'] : "Unknown line";
$file = isset($stack['file']) ? $stack['file'] : "Unknown file";
$line = isset($stack['line']) ? $stack['line'] : "Unknown line";
$stackLog .= $file.':'.$line.' '.$stack['function']."()\n";
}

Expand Down

0 comments on commit 176e689

Please sign in to comment.