diff vendor/plugins/acts_as_customizable/lib/acts_as_customizable.rb @ 245:051f544170fe

* Update to SVN trunk revision 4993
author Chris Cannam
date Thu, 03 Mar 2011 11:42:28 +0000
parents 8661b858af72
children cbce1fd3b1b7
line wrap: on
line diff
--- a/vendor/plugins/acts_as_customizable/lib/acts_as_customizable.rb	Thu Mar 03 11:40:10 2011 +0000
+++ b/vendor/plugins/acts_as_customizable/lib/acts_as_customizable.rb	Thu Mar 03 11:42:28 2011 +0000
@@ -71,6 +71,7 @@
           custom_field_values.each do |custom_value|
             custom_value.value = values[custom_value.custom_field_id.to_s] if values.has_key?(custom_value.custom_field_id.to_s)
           end if values.is_a?(Hash)
+          self.custom_values = custom_field_values
         end
         
         def custom_field_values