summaryrefslogtreecommitdiff
path: root/src/lq/Printer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/lq/Printer.java')
-rw-r--r--src/lq/Printer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lq/Printer.java b/src/lq/Printer.java
index 7677450..e5bdc0b 100644
--- a/src/lq/Printer.java
+++ b/src/lq/Printer.java
@@ -21,7 +21,7 @@ public class Printer {
String date = DateUtil.dateFormat.format(quote.getQuoteDate());
out.println("Dato: " + date + ", Score: ");
out.println("<span id=\"v" + quote.getId() + "\">");
- out.println((score==null?"-":(score+ " (fra " + quote.getVotes().size() +")")));
+ out.println((score==null?"-":(score+ " (fra " + quote.getNumVotes() +")")));
out.println("<br> Vote: <font size=\"-1\">");
for(int nv=1; nv<=5; nv++)
out.println("<a href=\"javascript:ajaxvote(" + quote.getId() + ","+nv+")\">"+nv+"</a> ");