Commit e05dda6e authored by Skia's avatar Skia

Amend precedent commit

parent fa9151e1
......@@ -160,7 +160,7 @@ function check_semester_format(&$value){
*/
function check_uv_format(&$value){
$value = strtoupper($value);
return preg_match('/^[A-Z]{2}[0-9]{1}[A-Z]{1}$/', $value);
return preg_match('/^[A-Z]{2}[0-9]{1}[0-9A-Z]{1}$/', $value);
}
/**
......
Markdown is supported
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