diff --git a/libraries/src/Form/Rule/FilePathRule.php b/libraries/src/Form/Rule/FilePathRule.php index 0ba5adf554f2d..c9ecd297df503 100644 --- a/libraries/src/Form/Rule/FilePathRule.php +++ b/libraries/src/Form/Rule/FilePathRule.php @@ -49,7 +49,7 @@ public function test(\SimpleXMLElement $element, $value, $group = null, Registry return true; } - // Make sure $value starts with an a-z/A-Z character in ordern to not allow to break out of the current path + // Make sure $value starts with an a-z/A-Z character in order to not allow to break out of the current path if (!preg_match("/^[A-Za-z]*$/", substr($value, 0, 1))) { return false;