Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy committed Jul 10, 2021
1 parent ed906e1 commit 07b2aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/joomla/form/field/textarea.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
}

$attributes = array(
$columns ? (is_numeric($columns) ? ' cols="' . $columns . '"' : $columns) : '',
$rows ? (is_numeric($rows) ? ' rows="' . $rows . '"' : $rows) : '',
$columns ? (is_numeric($columns) ? 'cols="' . $columns . '"' : $columns) : '',
$rows ? (is_numeric($rows) ? 'rows="' . $rows . '"' : $rows) : '',
!empty($class) ? 'class="form-control ' . $class . $charcounter . '"' : 'class="form-control' . $charcounter . '"',
!empty($description) ? 'aria-describedby="' . $name . '-desc"' : '',
strlen($hint) ? 'placeholder="' . htmlspecialchars($hint, ENT_COMPAT, 'UTF-8') . '"' : '',
Expand Down

0 comments on commit 07b2aab

Please sign in to comment.