diff --git a/application/models/Customers_model.php b/application/models/Customers_model.php index 994034fc..b68efffc 100644 --- a/application/models/Customers_model.php +++ b/application/models/Customers_model.php @@ -399,7 +399,7 @@ class Customers_model extends EA_Model { throw new InvalidArgumentException('Could not find customer record id.'); } - return $customer['id']; + return (int)$customer['id']; } /**