Code: |
Index: modules/Polls/comments.php =================================================================== --- modules/Polls/comments.php (revision 63) +++ modules/Polls/comments.php (revision 64) @@ -819,7 +819,7 @@ list($troll) = $result->fields; } - if((!$tia) && ($fake == 1) && ($troll < 6)) { + if((!$tia) && ($fake == 1) && ($troll < 6) && pnUserLoggedIn()) { $column = &$pntable['pollcomments_column']; $nextid = $dbconn->GenId($pntable['pollcomments']); $result =& $dbconn->Execute("INSERT INTO $pntable[pollcomments] ($column[tid], |