lib/qooxview/storage_handler.rb in qooxview-1.9.9 vs lib/qooxview/storage_handler.rb in qooxview-1.9.10
- old
+ new
@@ -283,10 +283,10 @@
if !@data[id.to_i].has_key?(field) or
value.to_s != @data[id.to_i][field].to_s
val = di.set_entry(id, field, value)
dputs(4) { "#{id} - #{field} - #{value.inspect}" }
@data[id.to_i][field] = val
- elsif DEBUG_LVL >= 3
+ elsif DEBUG_LVL >= 4
log_msg 'StorageHandler', 'Trying to overwrite with same value in ' +
"#{self.class.name}-#{field}-#{value.to_s}\n" +
caller.inspect
end
update_key(id.to_i)