better messages

This commit is contained in:
Roland Gruber 2021-11-25 19:26:41 +01:00
parent ab306e8bc5
commit 6204a1dff1

View file

@ -1551,6 +1551,9 @@ abstract class baseModule {
if (sizeof($msg) < 3) { if (sizeof($msg) < 3) {
$msg[] = htmlspecialchars($this->attributes[$attrName][$counter]); $msg[] = htmlspecialchars($this->attributes[$attrName][$counter]);
} }
else {
$msg[] = array(htmlspecialchars($this->attributes[$attrName][$counter]));
}
$errors[] = $msg; $errors[] = $msg;
} }
$counter++; $counter++;