Permalink
Browse files

SoftLayer_Ticket::addUpdate now returns an array.

  • Loading branch information...
1 parent 5348757 commit 891ea928aba597272c83ee86309981281d79b58f SoftLayer committed Jul 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 example.php
View
@@ -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());
}

0 comments on commit 891ea92

Please sign in to comment.