[dw-free] Call the right method when looking up all the user's answers. This was my fault entirely!
[commit: http://hg.dwscoalition.org/dw-free/rev/9e9b8e4dbd41]
Call the right method when looking up all the user's answers. This was my
fault entirely!
Patch by
fu.
Files modified:
Call the right method when looking up all the user's answers. This was my
fault entirely!
Patch by
Files modified:
- htdocs/tools/endpoints/poll.bml
--------------------------------------------------------------------------------
diff -r 8e130e1f49c2 -r 9e9b8e4dbd41 htdocs/tools/endpoints/poll.bml
--- a/htdocs/tools/endpoints/poll.bml Tue Dec 20 00:51:59 2011 +0800
+++ b/htdocs/tools/endpoints/poll.bml Tue Dec 20 01:03:56 2011 +0800
@@ -58,7 +58,7 @@
} elsif ($action eq 'get_user_answers') {
return $err->( "No userid" ) unless $userid;
- $ret->{answer_html} = $poll->user_answer_as_html( $userid );
+ $ret->{answer_html} = $poll->user_answers_as_html( $userid );
} else {
return $err->("Invalid action $action");
}
--------------------------------------------------------------------------------
