summaryrefslogtreecommitdiff
path: root/modules/locale/locale.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/locale.install')
-rw-r--r--modules/locale/locale.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/locale/locale.install b/modules/locale/locale.install
index de8f6fe98..044ab62d3 100644
--- a/modules/locale/locale.install
+++ b/modules/locale/locale.install
@@ -172,7 +172,7 @@ function locale_update_6004() {
function locale_update_6005() {
foreach (node_get_types() as $type => $content_type) {
// Default to NULL, so we can skip dealing with non-existent settings.
- $setting = variable_get('language_' . $type, NULL);
+ $setting = variable_get('language_' . $type);
if ($type == 'default' && is_numeric($setting)) {
// language_default was overwritten with the content type setting,
// so reset the default language and save the content type setting.