From 084dc26e73c50b9053e627440df94fdbd16e6567 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Fri, 6 Aug 2010 16:57:54 +0200 Subject: [PATCH] Fixes #1056 by not assuming that count is a string --- app/views/stats/_tags.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/stats/_tags.rhtml b/app/views/stats/_tags.rhtml index 16f8b8a0..106dd525 100755 --- a/app/views/stats/_tags.rhtml +++ b/app/views/stats/_tags.rhtml @@ -10,7 +10,7 @@ <%= link_to t.name, {:controller => "todos", :action => "tag", :id => t.name}, {:style => "font-size: " + (9 + 2*(t.count.to_i-@tags_min)/@tags_divisor).to_s + "pt", - :title => t.count+" actions"} + :title => t.count.to_s+" actions"} -%> <% end end-%> @@ -29,7 +29,7 @@ <%= link_to t.name, {:controller => "todos", :action => "tag", :id => t.name}, {:style => "font-size: " + (9 + 2*(t.count.to_i-@tags_min_90days)/@tags_divisor_90days).to_s + "pt", - :title => t.count+" actions"} + :title => t.count.to_s+" actions"} -%> <% end end-%>