--- advpoll.module 2009-05-30 19:16:40.000000000 +0200 +++ advpoll.module 2009-11-11 17:46:33.000000000 +0200 @@ -1171,6 +1176,11 @@ function _advpoll_insert_choices($nid) { $node = node_load($nid); $weight = 0; $seen_ids = array(); + + //if nothing has been posted (i.e. through unpublishing an advanced poll from admin/content/node/overview ) then return, otherwise advpoll will delete + //ALL poll choices! http://drupal.org/node/468394 + if (!$_POST['choice']) return; + foreach ($_POST['choice'] as $index => $choice) { if ($choice['label'] != '') { // Mark this choice id as being seen.