summaryrefslogtreecommitdiff
path: root/FS/FS/part_pkg_discount.pm
diff options
context:
space:
mode:
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