Commit 00e560eb authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5412 Added back needed FileTextAreaAttribute constructor removed by...

Fixes #5412 Added back needed FileTextAreaAttribute constructor removed by mistake because of sonar false-positive
parent e6324f48
......@@ -153,6 +153,15 @@ class FileDownloadAttribute extends FileAttribute
class FileTextAreaAttribute extends FileDownloadAttribute
{
/* Default values are not the same that for FileDownloadAttribute */
function __construct ($label, $description, $ldapName, $required = FALSE, $extension = '.txt', $upload = TRUE, $defaultValue = '', $acl = '')
{
parent::__construct(
$label, $description, $ldapName, $required,
$extension, $upload, $defaultValue, $acl
);
}
/*! \brief Update this attributes postValue depending of the $_POST values
*/
function loadPostValue ()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment