Skip to content

Commit 891ea92

Browse files
author
SoftLayer
committed
SoftLayer_Ticket::addUpdate now returns an array.
1 parent 5348757 commit 891ea92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107

108108
try {
109109
$update = $client->addUpdate($update);
110-
echo "Updated ticket 123456. The new update's id is " . $update->id . '.';
110+
echo "Updated ticket 123456. The new update's id is " . $update[0]->id . '.';
111111
} catch (Exception $e) {
112112
die('Unable to update ticket: ' . $e->getMessage());
113113
}

0 commit comments

Comments
 (0)