This commit is contained in:
Eloy Lafuente (stronk7)
2015-01-20 18:40:59 +01:00
+1 -1
View File
@@ -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