Skip to content
Snippets Groups Projects
Commit 2f42adf4 authored by Daniel Wehner's avatar Daniel Wehner Committed by Tim Plunkett
Browse files

fix views_get_localization_plugin

parent 5a3629df
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -1353,10 +1353,10 @@ function views_get_localization_plugin() { ...@@ -1353,10 +1353,10 @@ function views_get_localization_plugin() {
// Provide sane default values for the localization plugin. // Provide sane default values for the localization plugin.
if (empty($plugin)) { if (empty($plugin)) {
if (module_exists('locale')) { if (module_exists('locale')) {
$plugin = 'core'; $plugin = 'Core';
} }
else { else {
$plugin = 'none'; $plugin = 'None';
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment