diff options
Diffstat (limited to 'FS/FS/reason_type.pm')
-rw-r--r-- | FS/FS/reason_type.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/reason_type.pm b/FS/FS/reason_type.pm index 4425c64..482ea34 100644 --- a/FS/FS/reason_type.pm +++ b/FS/FS/reason_type.pm @@ -162,7 +162,9 @@ sub _populate_initial_data { # class method # my $error = $object->insert(); # die "error inserting $self into database: $error\n" # if $error; - $conf->set($_, $object->typenum); +# # or clause for 1.7.x + $conf->set($_, $object->typenum) + or die "failed setting config"; } ''; |