From 9b2248e8fb89a74c582393bb77d1d5e4d86d8e87 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 22 Apr 2009 13:34:12 +0000 Subject: [PATCH 1/1] The active flag is still an integer for some reason, not a boolean. Closes #1727. --- script/statistics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/statistics b/script/statistics index 62c7e93a9..7105d475d 100755 --- a/script/statistics +++ b/script/statistics @@ -15,7 +15,7 @@ puts "" puts "

OpenStreetMap stats report run at #{start_time.to_s}

" begin - user_count = User.count(:conditions => "active = true") + user_count = User.count(:conditions => "active = 1") tracepoint_count = Tracepoint.count() node_count = Node.count(:conditions => "visible = true") way_count = Way.count(:conditions => "visible = true") -- 2.43.2