Index: branches/5.1.x/units/polls/poll_eh.php =================================================================== diff -u -N -r13094 -r13577 --- branches/5.1.x/units/polls/poll_eh.php (.../poll_eh.php) (revision 13094) +++ branches/5.1.x/units/polls/poll_eh.php (.../poll_eh.php) (revision 13577) @@ -1,6 +1,6 @@ Application->LoggedIn()? $this->Application->RecallVar('user_id') : '-2'; + $user_id = $this->Application->RecallVar('user_id'); $fields_hash = Array ( 'PollId' => $object->GetID(), 'AnswerId' => $poll_answer_id,