Fixes problem with creating an MX record
Fixes #60 php api expects a string and cloudflare api expects a int this keeps everybody happy without changing API's
This commit is contained in:
@@ -52,7 +52,7 @@ class DNS implements API
|
||||
}
|
||||
|
||||
if (!empty($priority)) {
|
||||
$options['priority'] = $priority;
|
||||
$options['priority'] = (int)$priority;
|
||||
}
|
||||
|
||||
$user = $this->adapter->post('zones/' . $zoneID . '/dns_records', $options);
|
||||
|
||||
Reference in New Issue
Block a user