mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-24 08:53:05 +03:00
Cast the result value to int
This commit is contained in:
parent
2f1e07bda2
commit
5bea235ec8
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue