Skip to content

Commit

Permalink
Merge pull request #11384 from TheCartpenter/patch-969
Browse files Browse the repository at this point in the history
Added sanitized int on total - extension/opencart/admin/model/report/customer_subscription.php file
  • Loading branch information
danielkerr committed Jun 27, 2022
2 parents a060c8e + e64fffc commit f6974f3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -56,7 +56,7 @@ public function getTotalTransactions(array $data = []): int {
$sql .= " WHERE " . implode(" AND ", $implode);
}

$query = $this->db->query($sql);
$query = (int)$this->db->query($sql);

return $query->row['total'];
}
Expand Down

0 comments on commit f6974f3

Please sign in to comment.