| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * @package VikWP - Libraries |
| 4 | 4 | * @subpackage adapter.form |
| 5 | 5 | * @author E4J s.r.l. |
| 6 | - * @copyright Copyright (C) 2021 E4J s.r.l. All Rights Reserved. | |
| 6 | + * @copyright Copyright (C) 2023 E4J s.r.l. All Rights Reserved. | |
| 7 | 7 | * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL |
| 8 | 8 | * @link https://vikwp.com |
| 9 | 9 | */ |
| 10 | 10 | |
| @@ -42,8 +42,9 @@ | ||
| 42 | 42 | $data['id'] = $this->id; |
| 43 | 43 | $data['value'] = is_null($this->value) ? $this->default : $this->value; |
| 44 | 44 | $data['required'] = $this->required === "true" || $this->required === true ? true : false; |
| 45 | 45 | $data['readonly'] = $this->readonly === "true" || $this->readonly === true ? true : false; |
| 46 | + $data['hint'] = !empty($this->hint) ? JText::translate($this->hint) : ''; | |
| 46 | 47 | |
| 47 | 48 | return $data; |
| 48 | 49 | } |
| 49 | 50 | } |