Skip to content

Commit

Permalink
Fixes zendframework#53 - Zend_Cache_Backend_Libmemcached doesn't pass…
Browse files Browse the repository at this point in the history
… Memcached::OPT_NO_BLOCK option through
  • Loading branch information
froschdesign committed Mar 19, 2014
1 parent d41d659 commit 7417929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cache/Backend/Libmemcached.php
Expand Up @@ -132,7 +132,7 @@ public function __construct(array $options = array())
$this->_log("Unknown memcached client option '{$name}' ({$optConst})");
}
}
if ($optId) {
if (null !== $optId) {
if (!$this->_memcache->setOption($optId, $value)) {
$this->_log("Setting memcached client option '{$optId}' failed");
}
Expand Down

0 comments on commit 7417929

Please sign in to comment.