Trello-API-PHP-Wrapper icon indicating copy to clipboard operation
Trello-API-PHP-Wrapper copied to clipboard

Saving change on list deletes it

Open msvrtan opened this issue 11 years ago • 1 comments

Saving changes on lists deletes list (Lane class). All I want to do is add 'a' to lists name and Trello somehow deletes this list :(

Here is my code sample:

$client = new \Trello\Client( $key, $token );

$board = $client->getBoard($boardId);

$lists = $board->getLists();

foreach ($lists as $list) { $list->name .= 'a'; $list = $list->save(); }

msvrtan avatar Mar 08 '14 12:03 msvrtan

Strange, I'll take a look

ashwinks avatar Mar 11 '14 14:03 ashwinks