If you have the portal along with the portal poll block installed then use this code.

================
1. Open portal.php:
================

==========
Find Code:
==========

    // Portal Poll Block Mod Begin
    $queryww = $db->query("SELECT p.*,t.*,f.* FROM ".$table_posts." AS p, ".$table_threads." AS t, ".$table_forums." AS f WHERE p.fid='".$portalpollfid."' AND t.pollopts != '' AND t.tid=p.tid AND f.fid=p.fid GROUP BY (t.tid) ORDER BY p.dateline DESC LIMIT 0, 1");
    $thread = $db->fetch_array($queryww);
    $that = array();
    $poll = '';
    $polltitle = '';
    $subject = stripslashes($thread['subject']);
    $icon = $thread['icon'];
    $tid =  $thread['tid'];
    $fid =  $thread['fid'];
    $icon = "<img src=\"$smdir/$icon\" border=\"0\">";
    $polltitle .= "<font class=\"mediumtxt\"><br /><b>$subject</b><br /><br /></font>";
    $comments = $thread['replies'];
    
     if ($comments == "1"){
        $comment_txt = "comment";
     }else{
        $comment_txt = "Comments";
     }

     if ($comments < 0){
        $comments = 0;
     }
        $comments = "<a href=\"viewthread.php?tid=$tid\">$comments $comment_txt</a> |";
     if($thread['closed'] == "yes") {
        $postcomment = "Closed";
       } else {
        $postcomment = "<a href=\"post.php?action=reply&fid=$portalpollfid&tid=$tid\">Post Comment</a><br />";
     }
    if ($thread['pollopts'] != '' && $thread['pollstatus'] != 'off' && $thread['closed'] != 'yes') {
        $pollbar = '';
        $num = array();
        $pollhtml = '';
        $poll = '';
        $options = explode("#|#", $thread['pollopts']);
        $num_options = count($options);
        if (false !== strpos(' '.$options[$num_options-1].' ', ' '.$xmbuser.' ') || isset($viewresults) == 'yes') {
            //show the 'voted' look
            if (isset($viewresults) == 'yes') {
                $results = "[<a href=\"./portal.php\">$lang[backtovote]</a>]";
            } else {
                $results = '';
            }

            $num_votes = 0;

            for ($i=0; $i < ($num_options-1); $i++) {
                $that = explode('||~|~||', $options[$i]);
                $num_votes += $that[1];
                $poll[$i]['name'] = postify($that[0], 'no', 'no', 'yes', 'no', 'yes', 'yes');
                $poll[$i]['votes'] = $that[1];
            }

            foreach ($poll as $num=>$array) {
                $pollimgnum = 0;
                $pollbar = '';

                if ($array['votes'] > 0) {
                    $orig = round($array['votes']/$num_votes*100, 2);
                    $percentage = round($orig, 2);
                    $poll_length = round($orig/3, 2);
                    $pollbar = str_repeat('<img src="'.$imgdir.'/pollbar.gif" alt="'.$lang['altpollpercentage'].'" />', $poll_length);
                    $percentage .= '%';
                } else {
                    $percentage = '0%';
                }

                $pollhtml .= '
                <tr><td class="tablerow" bgcolor="'.$altbg2.'"">
                <font class="smalltxt">'.$array['name'].'</font>
                <br />
                <img src="'.$imgdir.'/pollbar-s.gif" alt="'.$lang['altpollpercentage'].'" />'.$pollbar.'<img src="'.$imgdir.'/pollbar-e.gif" alt="'.$lang['altpollpercentage'].'" />
                <br />
                <font class="smalltxt">'.$array['votes'].' ('.$percentage.') </font>
                </td>
                </tr>';

            }

            $buttoncode = '';
        } else {
            $results = '[<a href="./portal.php?tid='.$tid.'&viewresults=yes">'.$lang['viewresults'].'</a>]';
            for ($i=0;$i<($num_options-1);$i++) {
                $that = explode('||~|~||', $options[$i]);
                $poll['name'] = postify($that[0], 'no', 'no', 'yes', 'no', 'yes', 'yes');
                $pollhtml .= '<tr><td class="tablerow" bgcolor="'.$altbg2.'" colspan="2"><input type="radio" name="postopnum" value="'.$i.'" /> <font class="smalltxt">'.$poll['name'].'</font></td></tr>';
            }
            
          $buttoncode = '<br /> <div align="center"><input type="submit" class="submit" value="'.$lang['submitvote'].'" /></div>';
        }
        
        $poll = "<form method=\"post\" name=\"input\" action=\"topicadmin.php?action=votepoll&fid=$fid&tid=$tid\">\n";
        $poll .= "$pollhtml<tr><td bgcolor=\"$altbg2\"><center>$buttoncode</center><br />\n";
        $poll .= "<font class=\"smalltxt\"><center>$results<br />$comments $postcomment<br />\n";
        $poll .= "[ <a href=\"forumdisplay.php?fid=$portalpollfid\">Other Polls</a>]</center></font>\n";
        $poll .= "<input type=\"hidden\" name=\"currpoll\" value=\"$thread[pollopts]\"></td></tr></form>\n";

    } elseif ($thread['closed'] == 'yes' && $thread['pollopts'] != '') {
        $pollbar = '';
        $pollhtml = '';

        $options = explode("#|#", $thread['pollopts']);
        $num_options = count($options);
        $num_votes = 0;

        for ($i=0; $i < ($num_options-1); $i++) {
            $that = explode('||~|~||', $options[$i]);
            $num_votes += $that[1];
            $poll[$i]['name'] = postify($that[0], 'no', 'no', 'yes', 'no', 'yes', 'yes');
            $poll[$i]['votes'] = $that[1];
        }
        foreach ($poll as $array) {
            $pollimgnum = 0;
            $pollbar = '';

            if ($array['votes'] > 0) {
                $percentage = round(round(($array['votes'])/$num_votes*100,2)/3, 2);
                for($num = 0; $num < $percentage; $num++) {
                    $pollbar .= '<img src="'.$imgdir.'/pollbar.gif" alt="'.$lang['altpollpercentage'].'" />';
                }
                $percentage .= '%';
            } else {
                $percentage = '0%';
            }
            
            $pollhtml .= '
             <tr><td class="tablerow" bgcolor="'.$altbg2.'" width="30%">
             <font class="smalltxt">'.$array['name'].'</font>
             </td>
             <td class="tablerow" bgcolor="'.$altbg2.'" width="60%">
             <img src="'.$imgdir.'/pollbar-s.gif" alt="'.$lang['altpollpercentage'].'" />'.$pollbar.'<img src="'.$imgdir.'/pollbar-e.gif" alt="'.$lang['altpollpercentage'].'" />
             </td>
             <td class="tablerow" bgcolor="'.$altbg2.'" width="10%">
             <font class="smalltxt">'.$array['votes'].' ('.$percentage.') </font>
             </td>
             </tr>';
        }
        $portalpollfid = '';       
    }
    // Portal Poll Block Mod End


================
Replace Code With:
================

    // Portal Poll Block Mod Begin
    $queryww = $db->query("SELECT p.*,t.*,f.* FROM ".$table_posts." AS p, ".$table_threads." AS t, ".$table_forums." AS f WHERE p.fid='".$portalpollfid."' AND t.pollopts = 'open' AND t.tid=p.tid AND f.fid=p.fid GROUP BY (t.tid) ORDER BY p.dateline DESC LIMIT 0, 1");
    $thread = $db->fetch_array($queryww);

    $poll = '';
    $pollbar = '';
    $pollhtml = '';
    $polltitle = '';
    $subject = stripslashes($thread['subject']);
    $icon = $thread['icon'];
    $tid =  $thread['tid'];
    $fid =  $thread['fid'];
    $icon = "<img src=\"$smdir/$icon\" border=\"0\">";
    $polltitle .= "<font class=\"mediumtxt\"><br /><b>$subject</b><br /><br /></font>";
    $comments = $thread['replies'];

    $comment_txt = ($comments == 1 ? "comment" : "Comments");

    if ($comments < 0) {
        $comments = 0;
    }
    $comments = "<a href=\"viewthread.php?tid=$tid\">$comments $comment_txt</a> |";
    if ($thread['closed'] == 'yes') {
        $postcomment = 'Closed';
    } else {
        $postcomment = "<a href=\"post.php?action=reply&fid=$portalpollfid&tid=$tid\">Post Comment</a><br />";
    }

    if ($thread['pollopts'] == 'open') { // If polls exist, grab the answers and put them in an array
        $tpolls = array();
        $totalvotes = 0;
        $allvoters = '';
        $querypoll = $db->query("SELECT * FROM ".$tablepre."polls WHERE tid='".$tid."' ORDER BY pod ASC");
        while ($post = $db->fetch_array($querypoll)) {
            if (!empty($post['answer'])) {
                $tpolls[] = $post;
            }
            $totalvotes += $post['votes'];
            $allvoters .= $post['voters'].'|#|';
        }
        $db->free_result($querypoll);
    }

    if ($thread['pollopts'] == 'open' && $thread['pollstatus'] != 'off' && $thread['closed'] != 'yes') {

        if (false !== strpos($allvoters, '|#|'.$self['uid'].'|#|') || $viewresults == 'yes') {
            //show the 'voted' look
            if (isset($viewresults) == 'yes') {
                $results = "[<a href=\"./portal.php\">$lang[backtovote]</a>]";
            } else {
                $results = '';
            }

            foreach ($tpolls as $answer) {
                if ($answer['votes'] > 0) {
                    $orig = round($answer['votes']/$totalvotes*100, 2);
                    $percentage = round($orig, 2);
                    $poll_length = round($orig/3, 2);
                    $pollbar = str_repeat('<img src="'.$imgdir.'/pollbar.gif" alt="'.$lang['altpollpercentage'].'" />', $poll_length);
                    $percentage .= '%';
                } else {
                    $percentage = '0%';
                }
                $pollhtml .= '
                <tr class="tablerow"><td bgcolor="'.$altbg2.'"">
                <font class="smalltxt">'.postify($answer['answer'], 'no', 'no', 'yes', 'no', 'yes', 'yes').'</font>
                <br />
                <img src="'.$imgdir.'/pollbar-s.gif" alt="'.$lang['altpollpercentage'].'" />'.$pollbar.'<img src="'.$imgdir.'/pollbar-e.gif" alt="'.$lang['altpollpercentage'].'" />
                <br />
                <font class="smalltxt">'.$answer['votes'].' ('.$percentage.') </font>
                </td>
                </tr>';
            }
            $buttoncode = '';
        } else {
            $results = '[<a href="./portal.php?tid='.$tid.'&viewresults=yes">'.$lang['viewresults'].'</a>]';
            foreach ($tpolls as $answer) {;
                $pollhtml .= '<tr><td class="tablerow" bgcolor="'.$altbg2.'" colspan="2"><input type="radio" name="postopnum" value="'.$answer['pod'].'" /> <font class="smalltxt">'.postify($answer['answer'], 'no', 'no', 'yes', 'no', 'yes', 'yes').'</font></td></tr>';
            }
            $buttoncode = '<br /> <div align="center"><input type="submit" class="submit" value="'.$lang['submitvote'].'" /></div>';
        }

        $poll = "<form method=\"post\" name=\"input\" action=\"polls.php?action=votepoll&fid=$fid&tid=$tid\">\n";
        $poll .= "$pollhtml<tr><td bgcolor=\"$altbg2\"><center>$buttoncode</center><br />\n";
        $poll .= "<font class=\"smalltxt\"><center>$results<br />$comments $postcomment<br />\n";
        $poll .= "[ <a href=\"forumdisplay.php?fid=$portalpollfid\">Other Polls</a>]</center></font>\n";
        $poll .= "<input type=\"hidden\" name=\"currpoll\" value=\"$thread[pollopts]\"></td></tr></form>\n";

    } elseif ($thread['closed'] == 'yes' && $thread['pollopts'] == 'open') {

        foreach ($tpolls as $answer) {
            if ($answer['votes'] > 0) {
                $poll_length = round(round($answer['votes']/$totalvotes*100, 2)/3, 2);
                $pollbar = str_repeat('<img src="'.$imgdir.'/pollbar.gif" alt="'.$lang['altpollpercentage'].'" />', $poll_length);
                $percentage .= '%';
            } else {
                $percentage = '0%';
            }
            $pollhtml .= '
            <tr class="tablerow"><td bgcolor="'.$altbg2.'" width="30%">
            <font class="smalltxt">'.postify($answer['answer'], 'no', 'no', 'yes', 'no', 'yes', 'yes').'</font>
            </td>
            <td bgcolor="'.$altbg2.'" width="60%">
            <img src="'.$imgdir.'/pollbar-s.gif" alt="'.$lang['altpollpercentage'].'" />'.$pollbar.'<img src="'.$imgdir.'/pollbar-e.gif" alt="'.$lang['altpollpercentage'].'" />
            </td>
            <td bgcolor="'.$altbg2.'" width="10%">
            <font class="smalltxt">'.$answer['votes'].' ('.$percentage.') </font>
            </td>
            </tr>';
        }
        $portalpollfid = '';       
    }
    // Portal Poll Block Mod End

============================================================================================================================
Enjoy!