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

Commit 4f47720

Browse files
committed
Fix #1148
1 parent 3435210 commit 4f47720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/core/classes/class.Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public function getOption($oName, $safe=false, $resolveUser = null)
374374
$pvalue = rtrim(str_replace("AJXP_WORKSPACE_SLUG", $this->getSlug(), $pvalue), "/");
375375
$pathChanged = true;
376376
}
377-
if (is_string($pvalue) && strstr($value, "AJXP_ALLOW_SUB_PATH") !== false) {
377+
if (is_string($pvalue) && strstr($pvalue, "AJXP_ALLOW_SUB_PATH") !== false) {
378378
$pvalue = rtrim(str_replace("AJXP_ALLOW_SUB_PATH", "", $pvalue), "/")."/".$this->options[$oName];
379379
$pathChanged = true;
380380
}

0 commit comments

Comments
 (0)