diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-19 16:25:03 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-19 16:25:03 +0100 |
commit | eaf29ca05a1b4ea7f61c44e262c17d7c5feb1a0a (patch) | |
tree | 28ce30232be704192daab16b098fb9c4224c4d76 /web/lib/ui | |
parent | 9bd2438576e9fad05d56d2a79b1e227bad4612ec (diff) | |
download | taginfo-eaf29ca05a1b4ea7f61c44e262c17d7c5feb1a0a.tar taginfo-eaf29ca05a1b4ea7f61c44e262c17d7c5feb1a0a.tar.gz |
Bugfix: Relation roles
Diffstat (limited to 'web/lib/ui')
-rw-r--r-- | web/lib/ui/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/ui/relation.rb b/web/lib/ui/relation.rb index e2cd5fd..4b5af88 100644 --- a/web/lib/ui/relation.rb +++ b/web/lib/ui/relation.rb @@ -27,7 +27,7 @@ class Taginfo < Sinatra::Base end @count_relation_roles = @db.count('relation_roles'). - condition("rtype=?", rtype). + condition("rtype=?", @rtype). get_first_value().to_i sum_count_all = @db.select("SELECT members_all FROM db.relation_types WHERE rtype=?", @rtype).get_first_value().to_i |