Skip to content

Commit 7417929

Browse files
committed
Fixes zendframework#53 - Zend_Cache_Backend_Libmemcached doesn't pass Memcached::OPT_NO_BLOCK option through
1 parent d41d659 commit 7417929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cache/Backend/Libmemcached.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function __construct(array $options = array())
132132
$this->_log("Unknown memcached client option '{$name}' ({$optConst})");
133133
}
134134
}
135-
if ($optId) {
135+
if (null !== $optId) {
136136
if (!$this->_memcache->setOption($optId, $value)) {
137137
$this->_log("Setting memcached client option '{$optId}' failed");
138138
}

0 commit comments

Comments
 (0)