I probably wouldn't take much to fix this. Just need to swap these ifs (sorta) in public_htmlpolls/index.php (in v1.4):
Text Formatted Code
if (empty($qid)) {
$display .= COM_siteHeader ('menu', $LANG_POLLS['pollstitle']);
if (empty ($_USER['username']) && (($_CONF['loginrequired'] == 1) ||
($_PO_CONF['pollsloginrequired'] == 1))) {
...
else { ...}
}
Like this:
Text Formatted Code
if (empty ($_USER['username']) && (($_CONF['loginrequired'] == 1) ||
($_PO_CONF['pollsloginrequired'] == 1)))
{ ...
} else if (empty($qid) { ...
} else ....
There are probably a few cases where some testing would be needed. Also some attention to the COM_siteHeader calls would be required.