mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-29 07:59:31 +02: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
|
// Format object
|
||||||
if (is_object($val)) {
|
if (is_object($val)) {
|
||||||
return var_export($val, true);
|
return print_r($val, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Format bool
|
// Format bool
|
||||||
|
|
Loading…
Reference in New Issue
Block a user