Trello-API-PHP-Wrapper
Trello-API-PHP-Wrapper copied to clipboard
Saving change on list deletes it
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(); }
Strange, I'll take a look