Commit 02a0a4e7 authored by catch's avatar catch
Browse files

Issue ##1190426 by pillarsdotnet: fix undefined variable in dmemcache.inc.

parent 8fab0c9f
......@@ -96,6 +96,7 @@ function dmemcache_get($key, $bin = 'cache', $mc = NULL) {
$full_key = dmemcache_key($key, $bin);
$statistics = array('get', $bin, $full_key);
$success = '0';
$result = NULL;
if ($mc || ($mc = dmemcache_object($bin))) {
$result = $mc->get($full_key);
if ($result) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment