Skip to content

Commit

Permalink
fixed memcached options merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AlloVince authored and weierophinney committed Oct 1, 2012
1 parent 18b11f9 commit fd10926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Cache/Storage/Adapter/MemcachedOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function setLibOptions(array $libOptions)
}

$this->triggerOptionEvent('lib_options', $normalizedOptions);
$this->libOptions = array_merge($this->libOptions, $normalizedOptions);
$this->libOptions = array_diff_key($this->libOptions, $normalizedOptions) + $normalizedOptions;

return $this;
}
Expand Down

0 comments on commit fd10926

Please sign in to comment.