I am trying to update a chunk via eForm. The chunk is used by a calendar snippet which parses the chunk and splits the containing dates by ’\n’ to display them as marked.
I already managed to get the chunk updated but the calendar wont display the new added dates. When i open the chunk in the manager and save it without touching it, it will be parsed successfully. What is the difference by updating the chunk via query or saving it with the manager? I can’t see any difference in the database either ...
That’s how i update the chunk
$table = $modx->getFullTableName("site_htmlsnippets");
$rows_affected = $modx->db->update("snippet = '". $reservations ."'", $table, "name='Reservationen'");
Any ideas?