mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #8399 from lekoala/patch-12
var_export does not handle circular references
This commit is contained in:
commit
a31a496362
@ -176,7 +176,7 @@ class CliDebugView extends DebugView
|
||||
|
||||
// Format object
|
||||
if (is_object($val)) {
|
||||
return var_export($val, true);
|
||||
return print_r($val, true);
|
||||
}
|
||||
|
||||
// Format bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user