Commit 0a2587d2 authored by Taylor Otwell's avatar Taylor Otwell

fixed bug in redis class.

parent cb027980
......@@ -61,7 +61,7 @@ class Redis {
*/
public static function db($name = 'default')
{
if (is_null(static::$databases[$name]))
if ( ! isset(static::$databases[$name]))
{
if (is_null($config = Config::get("database.redis.{$name}")))
{
......
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