diff options
author | francis <francis> | 2008-09-23 00:47:50 +0000 |
---|---|---|
committer | francis <francis> | 2008-09-23 00:47:50 +0000 |
commit | f5e971e92dd9f7db45194abfe7cdca99dc248ed8 (patch) | |
tree | b8a4fe7e882b88594ac707a999c75bab20ca888e /app/models/info_request.rb | |
parent | 22231ae62f9e2a5c50dd5d56ea945aaab5d46a4f (diff) |
User better boolean operators
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 6f7273835..43d566199 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -23,7 +23,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: info_request.rb,v 1.142 2008-09-22 22:16:37 francis Exp $ +# $Id: info_request.rb,v 1.143 2008-09-23 00:47:50 francis Exp $ require 'digest/sha1' require File.join(File.dirname(__FILE__),'../../vendor/plugins/acts_as_xapian/lib/acts_as_xapian') @@ -71,7 +71,7 @@ class InfoRequest < ActiveRecord::Base self.described_state = 'waiting_response' end # FOI or EIR? - if not self.public_body.nil? and self.public_body.eir_only? + if !self.public_body.nil? && self.public_body.eir_only? self.law_used = 'eir' end end |