lib/dbox/database.rb in dbox-0.6.4 vs lib/dbox/database.rb in dbox-0.6.5

- old
+ new

@@ -317,10 +317,10 @@ VALUES (#{(["?"] * h.size).join(",")}); }, *h.values) end def update_entry(where_clause, fields) - log.debug "Updating entry: #{where_clause}, #{fields.inspect}" + log.debug "Updating entry: #{where_clause.inspect}, #{fields.inspect}" h = fields.clone h[:modified] = h[:modified].to_i if h[:modified] conditions, *args = *where_clause set_str = h.keys.map {|k| "#{k}=?" }.join(",") @db.execute(%{