summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-27 13:22:29 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-27 13:22:29 +0000
commiteda4d90645db60c8da8dc33239eff0c63789b895 (patch)
tree75e5cf8112debcc35c5705b056ff484e3a04182e /includes
parent4ce3d625f6b2a53ec2bcf1165a026d5e20524d49 (diff)
downloadbrdo-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.inc2
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