Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing error

  • Loading branch information...
commit 01e1cb2b4b3fe7017631d17ee69d7f70be002e9e 1 parent ec82188
@dongilbert authored
Showing with 7 additions and 6 deletions.
  1. +7 −6 libraries/joomla/form/fields/password.php
View
13 libraries/joomla/form/fields/password.php
@@ -88,12 +88,13 @@ public function setup(SimpleXMLElement $element, $value, $group = null)
protected function getInput()
{
// Initialize some field attributes.
- $size = !empty($this->size) ? ' size="' . $this->size . '"' : '';
- $maxLength = !empty($this->maxlength) ? ' maxlength="' . $this->maxlength . '"' : '';
- $class = !empty($this->class) ? ' class="' . (string) $this->element['class'] . '"' : '';
- $readonly = !empty($this->readonly) ? ' readonly="readonly"' : '';
- $disabled = !empty($this->disabled) ? ' disabled="disabled"' : '';
- $auto = !empty($this->autocomplete) ? ' autocomplete="off"' : '';
+ $size = !empty($this->size) ? ' size="' . $this->size . '"' : '';
+ $maxLength = !empty($this->maxlength) ? ' maxlength="' . $this->maxlength . '"' : '';
+ $class = !empty($this->class) ? ' class="' . $this->class . '"' : '';
+ $readonly = !empty($this->readonly) ? ' readonly="readonly"' : '';
+ $disabled = !empty($this->disabled) ? ' disabled="disabled"' : '';
+ $auto = !empty($this->autocomplete) ? ' autocomplete="off"' : '';
+ $placeholder = !empty($this->placeholder) ? ' placeholder="' . $this->placeholder . '"' : '';
$script = '';

1 comment on commit 01e1cb2

@dongilbert
Owner

The comment was supposed to say "Fixing undefined variable error"

Please sign in to comment.
Something went wrong with that request. Please try again.