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