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

Commit a6c2f85

Browse files
committed
Code style
1 parent 8ff7798 commit a6c2f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/core/classes/class.AJXP_Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ protected function getFilteredOption($optionName, $repositoryScope = AJXP_REPO_S
155155
$repositoryScope,
156156
isSet($merged[$optionName]) ? $merged[$optionName] : null
157157
);
158-
if ($repo != null && $repo->hasParent()) {
158+
if (isSet($repo) && $repo != null && $repo->hasParent()) {
159159
$retest = $loggedUser->mergedRole->filterParameterValue(
160160
$this->getId(),
161161
$optionName,

0 commit comments

Comments
 (0)