diff --git a/upload/catalog/model/account/reward.php b/upload/catalog/model/account/reward.php
index <HASH>..<HASH> 100644
--- a/upload/catalog/model/account/reward.php
+++ b/upload/catalog/model/account/reward.php
@@ -42,14 +42,14 @@ class Reward extends \Opencart\System\Engine\Model {
 	public function getTotalRewards(): int {
 		$query = $this->db->query("SELECT COUNT(*) AS `total` FROM `" . DB_PREFIX . "customer_reward` WHERE `customer_id` = '" . (int)$this->customer->getId() . "'");
 
-		return $query->row['total'];
+		return (int)$query->row['total'];
 	}
 
 	public function getTotalPoints(): int {
 		$query = $this->db->query("SELECT SUM(`points`) AS `total` FROM `" . DB_PREFIX . "customer_reward` WHERE `customer_id` = '" . (int)$this->customer->getId() . "' GROUP BY `customer_id`");
 
 		if ($query->num_rows) {
-			return $query->row['total'];
+			return (int)$query->row['total'];
 		} else {
 			return 0;
 		}
Added sanitized int on total