diff --git a/vendor/joomla/libraries/joomla/html/parameter/element/text.php b/vendor/joomla/libraries/joomla/html/parameter/element/text.php
index a600fc89a..4aea56d43 100644
--- a/vendor/joomla/libraries/joomla/html/parameter/element/text.php
+++ b/vendor/joomla/libraries/joomla/html/parameter/element/text.php
@@ -1,49 +1,34 @@
-attributes('size') ? 'size="'.$node->attributes('size').'"' : '' );
- $class = ( $node->attributes('class') ? 'class="'.$node->attributes('class').'"' : 'class="text_area"' );
+ /**
+ * Element name
+ *
+ * @var string
+ */
+ public $_name = 'Text';
+
+ public function fetchElement($name, $value, &$node, $control_name)
+ {
+ $size = $node->attributes('size') ? 'size="'.$node->attributes('size').'"' : '';
+ $class = $node->attributes('class') ? 'class="'.$node->attributes('class').'"' : 'class="text_area"';
+ $readonly = $node->attributes('readonly') ? 'readonly="readonly"' : '';
/*
* Required to avoid a cycle of encoding &
* html_entity_decode was used in place of htmlspecialchars_decode because
* htmlspecialchars_decode is not compatible with PHP 4
*/
$value = htmlspecialchars(html_entity_decode($value, ENT_QUOTES), ENT_QUOTES);
-
- return '';
- }
-}
\ No newline at end of file
+
+ return '';
+ }
+}