X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg_discount.pm;h=06a0fb97fa90590f6271685a1eda672390d4e805;hb=dafdfc24616b04a5ff594da31e2cdd03f58634b6;hp=2187e10b7bc0eddd575ccfba0b16e7dcb5736c4d;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/FS/FS/part_pkg_discount.pm b/FS/FS/part_pkg_discount.pm index 2187e10b7..06a0fb97f 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