Open /include/factory.php and find:
PHP Code:
public function pollshow() {
unset ($pollexists);
and change to:
PHP Code:
public function pollshow() {
global $CURUSER;
unset ($pollexists);
find in same file:
PHP Code:
$voted = true;
else
$voted = $arr2;
and change to:
PHP Code:
$voted = $arr2;
else
$voted = true;
still in same file find:
PHP Code:
print("<form method=post action=index.php>\n");
and cahnge to:
PHP Code:
print("<form method=post action=\"".$_SERVER['PHP_SELF']."\">\n");
still in same file find:
PHP Code:
public function pollwatch() {
if ($_SERVER["REQUEST_METHOD"] == "POST")
{
and change to:
PHP Code:
public function pollwatch() {
global $CURUSER;
if ($_SERVER["REQUEST_METHOD"] == "POST")
it think that was all