diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-27 13:22:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-27 13:22:29 +0000 |
commit | eda4d90645db60c8da8dc33239eff0c63789b895 (patch) | |
tree | 75e5cf8112debcc35c5705b056ff484e3a04182e /includes | |
parent | 4ce3d625f6b2a53ec2bcf1165a026d5e20524d49 (diff) | |
download | brdo-eda4d90645db60c8da8dc33239eff0c63789b895.tar.gz brdo-eda4d90645db60c8da8dc33239eff0c63789b895.tar.bz2 |
- Patch #42390 by chx: Field 'translation' doesn't have a default value query
Diffstat (limited to 'includes')
-rw-r--r-- | includes/locale.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index 7371dec2a..fcaf82ca2 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -16,7 +16,7 @@ function _locale_add_language($code, $name, $onlylanguage = TRUE) { db_query("INSERT INTO {locales_meta} (locale, name) VALUES ('%s','%s')", $code, $name); $result = db_query("SELECT lid FROM {locales_source}"); while ($string = db_fetch_object($result)) { - db_query("INSERT INTO {locales_target} (lid, locale) VALUES (%d,'%s')", $string->lid, $code); + db_query("INSERT INTO {locales_target} (lid, locale, translation) VALUES (%d,'%s', '')", $string->lid, $code); } // If only the language was added, and not a PO file import triggered |