diff --git a/administrator/components/com_templates/src/View/Style/JsonView.php b/administrator/components/com_templates/src/View/Style/JsonView.php index 37a71594722ac..e86554c725d69 100644 --- a/administrator/components/com_templates/src/View/Style/JsonView.php +++ b/administrator/components/com_templates/src/View/Style/JsonView.php @@ -69,7 +69,7 @@ public function display($tpl = null) return false; } - $paramsList = (array) $this->item; + $paramsList = get_object_vars($this->item); unset($paramsList['xml']);