summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2002-04-07 00:00:41 +0000
committerivan <ivan>2002-04-07 00:00:41 +0000
commitfca110eff969104793774ed717985e91c53f5318 (patch)
tree310d308115a9c1a8e1126d047f1f5d7820f4797e /FS
parent99a8652052e5b036e7db08c32603c0feadc60e85 (diff)
- config option for signup server payment types
- credit card type pulldown on signup server (closes: Bug#383)
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Conf.pm11
1 files changed, 10 insertions, 1 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 74e28d8b1..b39c8217d 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -134,7 +134,7 @@ sub set {
my $dir = $self->dir;
$value =~ /^(.*)$/s;
$value = $1;
- unless ( $self->config($file) eq $value ) {
+ unless ( join("\n", @{[ $self->config($file) ]}) eq $value ) {
warn "[FS::Conf] SET $file\n" if $DEBUG;
# warn "$dir" if is_tainted($dir);
# warn "$dir" if is_tainted($file);
@@ -865,6 +865,15 @@ httemplate/docs/config.html
'select_enum' => [ qw(en_US) ],
},
+ {
+ 'key' => 'signup_server-payby',
+ 'section' => '',
+ 'description' => 'Acceptable payment types for the signup server',
+ 'type' => 'selectmultiple',
+ 'select_enum' => [ qw(CARD PREPAY BILL COMP) ],
+ },
+
+
);
1;