Page MenuHomeIn-Portal Phabricator

D110.diff
No OneTemporary

File Metadata

Created
Mon, Jan 6, 5:20 AM

D110.diff

Index: branches/5.2.x/core/kernel/processors/main_processor.php
===================================================================
--- branches/5.2.x/core/kernel/processors/main_processor.php
+++ branches/5.2.x/core/kernel/processors/main_processor.php
@@ -1176,6 +1176,10 @@
$current_params = $this->Application->Parser->Params;
foreach ($current_params as $param_name => $param_value) {
+ if ( is_object($param_value) && !method_exists($param_value, '__toString') ) {
+ $param_value = 'ClassName: ' . get_class($param_value);
+ }
+
$current_params[$param_name] = $param_name . ' = "' . $param_value . '"';
}

Event Timeline