Commit 230432ad authored by alexpott's avatar alexpott
Browse files

Issue #2041313 by vineet.osscube: Fixed Caching issue causes 'theme not found'...

Issue #2041313 by vineet.osscube: Fixed Caching issue causes 'theme not found' error when enabling theme.
parent 2ea2cf68
......@@ -106,7 +106,7 @@ public function enable(Request $request) {
if (isset($theme) && isset($token) && drupal_valid_token($token, 'system-theme-operation-link')) {
// Get current list of themes.
$themes = list_themes();
$themes = list_themes(TRUE);
// Check if the specified theme is one recognized by the system.
if (!empty($themes[$theme])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment