Fixed reward points #937 in catalog/model/total/coupon.php