Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
homebox-3438903
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
homebox-3438903
Commits
7fb2a932
Commit
7fb2a932
authored
7 years ago
by
Neil Drumm
👋
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#934986
: Always start with admin-configured title for blocks
parent
3879d226
No related branches found
Branches containing commit
Tags
8.x-3.0-alpha21
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
homebox.module
+1
-1
1 addition, 1 deletion
homebox.module
with
1 addition
and
1 deletion
homebox.module
+
1
−
1
View file @
7fb2a932
...
...
@@ -586,7 +586,7 @@ function homebox_prepare_block($block_key, $page) {
// Build the $block object.
$block
->
key
=
$block_key
;
$block
->
subject
=
isset
(
$
block_
settings
[
'title'
])
?
$
block_
settings
[
'title'
]
:
NULL
;
$block
->
subject
=
isset
(
$
page
->
settings
[
'
blocks'
][
$block_key
][
'
title'
])
?
$
page
->
settings
[
'
blocks'
][
$block_key
][
'
title'
]
:
NULL
;
$block
->
content
=
isset
(
$block_settings
[
'content'
])
?
$block_settings
[
'content'
]
:
NULL
;
$block
->
module
=
isset
(
$block_settings
[
'module'
])
?
$block_settings
[
'module'
]
:
NULL
;
$block
->
delta
=
isset
(
$block_settings
[
'delta'
])
?
$block_settings
[
'delta'
]
:
NULL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment