Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
8fa4c8b9
Commit
8fa4c8b9
authored
Oct 31, 2016
by
Robert Lyon
Committed by
Gerrit Code Review
Oct 31, 2016
Browse files
Merge "Bug 1607743 Fix page theme comflicting with configuarable theme"
parents
ed64359b
961ae544
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/lib/web.php
View file @
8fa4c8b9
...
...
@@ -82,7 +82,10 @@ function get_stylesheets_for_current_page($stylesheets, $extraconfig) {
}
}
}
if
(
$sheets
=
$THEME
->
additional_stylesheets
())
{
// Only add additional stylesheets when configurable theme is set.
if
(
$THEME
->
basename
==
'custom'
)
{
$sheets
=
$THEME
->
additional_stylesheets
();
$stylesheets
=
array_merge
(
$stylesheets
,
$sheets
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment