Project

General

Profile

Defect #9137 » db_encrypt_failure.patch

Marc Dequènes, 2011-08-27 12:17

View differences:

lib/redmine/ciphering.rb 2011-08-27 12:03:02.000000000 +0200
63 63
        transaction do
64 64
          all.each do |object|
65 65
            clear = object.send(attribute)
66
            object.send "#{attribute}=", clear
66
            object.send "#{attribute}=", clear unless clear.blank?
67 67
            raise(ActiveRecord::Rollback) unless object.save(false)
68 68
          end
69 69
        end ? true : false
    (1-1/1)