Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SoftLayer_Ticket::addUpdate now returns an array.

  • Loading branch information...
commit 891ea928aba597272c83ee86309981281d79b58f 1 parent 5348757
SoftLayer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  example.php
View
2  example.php
@@ -107,7 +107,7 @@
try {
$update = $client->addUpdate($update);
- echo "Updated ticket 123456. The new update's id is " . $update->id . '.';
+ echo "Updated ticket 123456. The new update's id is " . $update[0]->id . '.';
} catch (Exception $e) {
die('Unable to update ticket: ' . $e->getMessage());
}
Please sign in to comment.
Something went wrong with that request. Please try again.