diff --git a/core/src/plugins/access.ajxp_conf/class.ajxp_confAccessDriver.php b/core/src/plugins/access.ajxp_conf/class.ajxp_confAccessDriver.php index ddb2810ca8..2010631e24 100644 --- a/core/src/plugins/access.ajxp_conf/class.ajxp_confAccessDriver.php +++ b/core/src/plugins/access.ajxp_conf/class.ajxp_confAccessDriver.php @@ -1054,6 +1054,9 @@ public function switchAction($action, $httpVars, $fileVars) $templateId = substr($repDef["DRIVER"], 14); $templateRepo = ConfService::getRepositoryById($templateId); $newRep = $templateRepo->createTemplateChild($repDef["DISPLAY"], $repDef["DRIVER_OPTIONS"]); + if(isSet($repDef["AJXP_SLUG"])){ + $newRep->setSlug($repDef["AJXP_SLUG"]); + } } else { if ($currentUserIsGroupAdmin) { throw new Exception("You are not allowed to create a repository from a driver. Use a template instead.");