Skip to content

Commit

Permalink
state=0 indicate valid subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
zh committed Jan 28, 2010
1 parent 1592ec7 commit 8387308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webglue.rb
Expand Up @@ -219,7 +219,7 @@ def do_subscribe(params)
text += "<ul>\n"
subscribers.each do |sub|
text += "<li>#{Topic.to_url(sub[:callback])}"
text += " <b>(valid)</b>" if sub[:state].to_i == 1
text += " <b>(valid)</b>" if sub[:state].to_i == 0
text += "</li>\n"
end
text += "</ul>\n"
Expand Down

0 comments on commit 8387308

Please sign in to comment.