Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit cc56f16

Browse files
committed
Fix slug issue - Close #938
1 parent c2566f9 commit cc56f16

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/plugins/access.ajxp_conf/class.ajxp_confAccessDriver.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,6 +1162,10 @@ public function switchAction($action, $httpVars, $fileVars)
11621162
if (count($options)) {
11631163
$repDef["DRIVER_OPTIONS"] = $options;
11641164
unset($repDef["DRIVER_OPTIONS"]["AJXP_GROUP_PATH_PARAMETER"]);
1165+
if(isSet($options["AJXP_SLUG"])){
1166+
$repDef["AJXP_SLUG"] = $options["AJXP_SLUG"];
1167+
unset($repDef["DRIVER_OPTIONS"]["AJXP_SLUG"]);
1168+
}
11651169
}
11661170
if (strstr($repDef["DRIVER"], "ajxp_template_") !== false) {
11671171
$templateId = substr($repDef["DRIVER"], 14);

0 commit comments

Comments
 (0)