diff options
author | ivan <ivan> | 2006-08-10 02:27:35 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-08-10 02:27:35 +0000 |
commit | 64aeaf538530faec44db4818e8ecadfd0d1ee3f1 (patch) | |
tree | 1e834623a9b3da78fe4f09be5b20182dd15e4694 /FS | |
parent | 9f4696b5f2d5e414580eda21a7d7a5acb4a97160 (diff) |
better debugging for missing recur_fee so its easier to check the db
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_pkg.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/part_pkg.pm b/FS/FS/part_pkg.pm index aa39d890b..9de27f813 100644 --- a/FS/FS/part_pkg.pm +++ b/FS/FS/part_pkg.pm @@ -687,7 +687,8 @@ sub option { my %plandata = map { /^(\w+)=(.*)$/; ( $1 => $2 ); } split("\n", $self->get('plandata') ); return $plandata{$opt} if exists $plandata{$opt}; - cluck "Package definition option $opt not found in options or plandata!\n" + cluck "WARNING: (pkgpart ". $self->pkgpart. ") Package def option $opt". + "not found in options or plandata!\n" unless $ornull; ''; } |