make sure 1 is a string
This commit is contained in:
parent
3e7190866a
commit
497ff76a67
|
@ -79,7 +79,7 @@ class Middleware::RequestTracker
|
||||||
|
|
||||||
if data
|
if data
|
||||||
if result && (headers=result[1])
|
if result && (headers=result[1])
|
||||||
headers["X-Discourse-TrackView"] = 1 if data[:track_view]
|
headers["X-Discourse-TrackView"] = "1" if data[:track_view]
|
||||||
end
|
end
|
||||||
log_later(data,host)
|
log_later(data,host)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue