In flat view, root_post_is_poll should be 1 for polls, post_is_poll can be empty (or zero).
Can you edit Poll.pm (add the red things), and tell me what happens when you add a new poll:
my $c = $DB->table('Post');
$c->update ( { post_is_poll => '1' }, { post_id => $post_id }) or die $GT::SQL::error;
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Can you edit Poll.pm (add the red things), and tell me what happens when you add a new poll:
Code:
# Update Post table my $c = $DB->table('Post');
$c->update ( { post_is_poll => '1' }, { post_id => $post_id }) or die $GT::SQL::error;
Ivan
-----
Iyengar Yoga Resources / GT Plugins