mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 22:12:25 +00:00
Revert "groovy null-safe operation, I miss you."
This reverts commit 037393c28a.
This commit is contained in:
1 parent
d577c0850d
commit
d61965bebc
1 file changed
+1
-1
@@ -1011,7 +1011,7 @@ public class Functions {
|
||||
|
||||
if(ig== Jenkins.getInstance() || (view != null && ig == view.getOwnerItemGroup())) {
|
||||
assert i instanceof TopLevelItem;
|
||||
if (view != null && view.contains((TopLevelItem)i)) {
|
||||
if (view.contains((TopLevelItem)i)) {
|
||||
// if p and the current page belongs to the same view, then return a relative path
|
||||
return normalizeURI(ancestors.get(view)+'/'+url);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user