Fixing spelling error
parent
7220b097c1
commit
c793e7ce99
|
@ -364,12 +364,12 @@ class h5pValidator {
|
|||
// The requirement is a regexp, match it against the data
|
||||
if (is_string($h5pData) || is_int($h5pData)) {
|
||||
if (preg_match($requirement, $h5pData) === 0) {
|
||||
$this->h5pF->setErrorMessage($this->h5pF->t("Ivalid data provided for %property in %library", array('%property' => $property_name, '%library' => $library_name)));
|
||||
$this->h5pF->setErrorMessage($this->h5pF->t("Invalid data provided for %property in %library", array('%property' => $property_name, '%library' => $library_name)));
|
||||
$valid = FALSE;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$this->h5pF->setErrorMessage($this->h5pF->t("Ivalid data provided for %property in %library", array('%property' => $property_name, '%library' => $library_name)));
|
||||
$this->h5pF->setErrorMessage($this->h5pF->t("Invalid data provided for %property in %library", array('%property' => $property_name, '%library' => $library_name)));
|
||||
$valid = FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue