diff options
-rw-r--r-- | app/views/track/_tracking_links.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/track/_tracking_links.html.erb b/app/views/track/_tracking_links.html.erb index 8e0b07167..c027e9732 100644 --- a/app/views/track/_tracking_links.html.erb +++ b/app/views/track/_tracking_links.html.erb @@ -13,7 +13,7 @@ </div> <% elsif track_thing %> <div class="feed_link feed_link_<%=location%>"> - <% if defined? follower_count && follower_count > 0 %> + <% if defined?(follower_count) && follower_count > 0 %> <%= link_to _("I like this request"), do_track_path(track_thing), :class => "link_button_green" %> <% else %> <%= link_to _("Follow"), do_track_path(track_thing), :class => "link_button_green" %> |