reverse order of defaults and options in Notice::saveNew()
This commit is contained in:
		| @@ -274,8 +274,8 @@ class Notice extends Memcached_DataObject | |||||||
|                           'scope' => null, |                           'scope' => null, | ||||||
|                           'distribute' => true); |                           'distribute' => true); | ||||||
|  |  | ||||||
|         if (!empty($options)) { |         if (!empty($options) && is_array($options)) { | ||||||
|             $options = array_merge($options, $defaults); |             $options = array_merge($defaults, $options); | ||||||
|             extract($options); |             extract($options); | ||||||
|         } else { |         } else { | ||||||
|             extract($defaults); |             extract($defaults); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user