Ticket #4420: really set the is_public field of a query

pull/6827/head
jwollert 13 years ago
parent c4fb3db7c7
commit 9614e777a5
  1. 8
      lib/report.rb

@ -182,18 +182,18 @@ class Report < ActiveRecord::Base
end
def public!
is_public = true
self.is_public = true
end
def public?
is_public
self.is_public
end
def private!
is_public = false
self.is_public = false
end
def private?
!is_public
!public?
end
end

Loading…
Cancel
Save