vexxhost/CloudFlare-API — pull request #13 by jamesryanbell (2013-11-12 21:07:35+00:00)
Title: rec_edit incorrect key

The key for the id value within the $data array was incorrectly named 'name' instead of 'id'

Old array:
$data = array(
'a' => 'rec_edit',
'z' => $domain,
'type' => $type,
'name' => $id,
'name' => $name,
'content' => $content,
'ttl' => $ttl
);

New array:
$data = array(
'a' => 'rec_edit',
'z' => $domain,
'type' => $type,
'id' => $id,
'name' => $name,
'content' => $content,
'ttl' => $ttl
);