diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-02 19:26:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-02 19:26:23 +0000 |
commit | 0baad49d620d9988837287cb5942eea764d3ed6f (patch) | |
tree | 146072f69b433cb7922572ba2ac627a83987edd4 /modules/forum/forum.module | |
parent | ef4513651e210784ba84eb310cf919e26f668bed (diff) | |
download | brdo-0baad49d620d9988837287cb5942eea764d3ed6f.tar.gz brdo-0baad49d620d9988837287cb5942eea764d3ed6f.tar.bz2 |
- Patch #635094 by plach: unify 'language neutral' language codes.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r-- | modules/forum/forum.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module index e1c45700a..8aa51713a 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -431,7 +431,7 @@ function forum_field_storage_pre_insert($obj_type, $object, &$skip_fields) { foreach ($language as $item) { $query->values(array( 'nid' => $object->nid, - 'title' => $object->title[FIELD_LANGUAGE_NONE][0]['value'], + 'title' => $object->title[LANGUAGE_NONE][0]['value'], 'tid' => $item['tid'], 'sticky' => $object->sticky, 'created' => $object->created, @@ -465,7 +465,7 @@ function forum_field_storage_pre_update($obj_type, $object, &$skip_fields) { foreach ($language as $item) { $query->values(array( 'nid' => $object->nid, - 'title' => $object->title[FIELD_LANGUAGE_NONE][0]['value'], + 'title' => $object->title[LANGUAGE_NONE][0]['value'], 'tid' => $item['tid'], 'sticky' => $object->sticky, 'created' => $object->created, |