summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg_discount.pm
diff options
context:
space:
mode:
authormark <mark>2011-10-01 02:25:05 +0000
committermark <mark>2011-10-01 02:25:05 +0000
commitcd3ed01671d5e1f9332c494abbf4bb110aabe1e3 (patch)
tree22c4ecf0dfa716204a1e6acbbb79e24797e82e1d /FS/FS/part_pkg_discount.pm
parenta85bf2b444454d120a334d6ae11a0e981bd75db9 (diff)
show available term discounts on invoice, #14210
Diffstat (limited to 'FS/FS/part_pkg_discount.pm')
-rw-r--r--FS/FS/part_pkg_discount.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_pkg_discount.pm b/FS/FS/part_pkg_discount.pm
index 2187e10..06a0fb9 100644
--- a/FS/FS/part_pkg_discount.pm
+++ b/FS/FS/part_pkg_discount.pm
@@ -112,7 +112,7 @@ Returns the discount associated with this part_pkg_discount.
sub discount {
my $self = shift;
- qsearch('discount', { 'discountnum' => $self->discountnum });
+ qsearchs('discount', { 'discountnum' => $self->discountnum });
}
=back