diff options
author | mark <mark> | 2011-09-15 10:19:03 +0000 |
---|---|---|
committer | mark <mark> | 2011-09-15 10:19:03 +0000 |
commit | 62b12e8b09608b7081ffd596be899fafb5c2403f (patch) | |
tree | ea185e690b709c5e66365f24e039c86b3404b12b /FS/FS/conf.pm | |
parent | 43af0ec176ff2ad5c4ecd60a58145f8370cc39d7 (diff) |
invoice template and config localization, #12367
Diffstat (limited to 'FS/FS/conf.pm')
-rw-r--r-- | FS/FS/conf.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/conf.pm b/FS/FS/conf.pm index 3faab14..b467cec 100644 --- a/FS/FS/conf.pm +++ b/FS/FS/conf.pm @@ -3,6 +3,7 @@ package FS::conf; use strict; use vars qw( @ISA ); use FS::Record; +use FS::Locales; @ISA = qw(FS::Record); @@ -94,6 +95,7 @@ sub check { || $self->ut_foreign_keyn('agentnum', 'agent', 'agentnum') || $self->ut_text('name') || $self->ut_anything('value') + || $self->ut_enum('locale', [ '', FS::Locales->locales ]) ; return $error if $error; |