mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 15:10:05 +01:00
Merge branch 'MDL-48779-29' of https://github.com/vadimonus/moodle
This commit is contained in:
commit
b10b88a70b
@ -394,7 +394,7 @@ function mnet_generate_keypair($dn = null, $days=28) {
|
||||
);
|
||||
|
||||
foreach ($dnlimits as $key => $length) {
|
||||
$dn[$key] = substr($dn[$key], 0, $length);
|
||||
$dn[$key] = core_text::substr($dn[$key], 0, $length);
|
||||
}
|
||||
|
||||
// ensure we remove trailing slashes
|
||||
|
Loading…
x
Reference in New Issue
Block a user