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