mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
- Security fixes
- Moodle schlägt nun beim Anlegen als Namen zusätzlich Stg und Sem vor
This commit is contained in:
@@ -53,6 +53,11 @@ function check_uid($uid)
|
||||
return false;
|
||||
}
|
||||
|
||||
function check_stsem($stsem)
|
||||
{
|
||||
return preg_match('/^[WS][S][0-9]{4}$/', $stsem);
|
||||
}
|
||||
|
||||
function check_lektor($uid)
|
||||
{
|
||||
$db = new basis_db();
|
||||
|
||||
Reference in New Issue
Block a user