X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2dc50b4431dbf01c2ad9402a5a6f8772ce0a7cc7..bfffe7ed96e1aba434ca40b488264c43d8f679ff:/lib/potlatch.rb diff --git a/lib/potlatch.rb b/lib/potlatch.rb index 4d9fd1c23..605d69db3 100644 --- a/lib/potlatch.rb +++ b/lib/potlatch.rb @@ -62,7 +62,7 @@ module Potlatch # Envelope data into AMF writeable form def self.putdata(index, n) - d = encodestring(index + "/onResult") + d = encodestring("#{index}/onResult") d += encodestring("null") d += [-1].pack("N") d += encodevalue(n)