fix Undefined variable: value

This commit is contained in:
尘缘
2016-05-08 11:10:23 +08:00
parent 83202fb9fc
commit caf86af6b2
2 changed files with 4 additions and 3 deletions

View File

@@ -200,6 +200,7 @@ class Redisd
{
$this->master(false);
$value = null;
try {
$value = $this->handler->get($this->options['prefix'] . $name);
} catch (\RedisException $e) {