Commit c6320660 authored by Helmo's avatar Helmo

Correct example code

parent 33014e3b
...@@ -21,11 +21,12 @@ try { ...@@ -21,11 +21,12 @@ try {
'domain' => 'cellar.door' 'domain' => 'cellar.door'
); );
$domain_id = $client->domains_domain_update($session_id, $client_id, $primary_id, $params); $result = $client->domains_domain_update($session_id, $client_id, $primary_id, $params);
echo "Domain ID: ".$domain_id."<br>"; if ($result) {
echo 'Domain updated.<br />';
if($client->logout($session_id)) { }
if ($client->logout($session_id)) {
echo 'Logged out.<br />'; echo 'Logged out.<br />';
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment