File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ public function buildBreadcrumb($settings) : array
3333 {
3434 // get and set settings array
3535 $ homeTitle = $ settings ['homeTitle ' ] ?? 'Home ' ;
36- $ homeUrl = $ settings ['homeUrl ' ] ?? null ;
37- $ customBaseUrl = $ settings ['customBaseUrl ' ] ?? null ;
36+ $ customBaseUrl = $ settings ['homeUrl ' ] ?? $ settings ['customBaseUrl ' ] ?? null ;
3837 $ skipUrlSegment = $ settings ['skipUrlSegment ' ] ?? null ;
3938 $ customFieldHandleEntryId = $ settings ['customFieldHandleEntryId ' ] ?? 0 ;
4039 $ customFieldHandle = $ settings ['customFieldHandle ' ] ?? null ;
@@ -59,8 +58,8 @@ public function buildBreadcrumb($settings) : array
5958 $ element = '' ;
6059
6160 // reset baseURL for custom customBaseUrl
62- if ($ homeUrl || $ customBaseUrl ) {
63- $ baseUrl = $ homeUrl ?? $ customBaseUrl ;
61+ if ($ customBaseUrl ) {
62+ $ baseUrl = $ customBaseUrl ;
6463 }
6564
6665 // for each segment in array
You can’t perform that action at this time.
0 commit comments