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