Skip to content

Undefined variable in cache redis#6272

Open
b1tc0re wants to merge 1 commit intobcit-ci:developfrom
b1tc0re:patch-1
Open

Undefined variable in cache redis#6272
b1tc0re wants to merge 1 commit intobcit-ci:developfrom
b1tc0re:patch-1

Conversation

@b1tc0re
Copy link
Contributor

@b1tc0re b1tc0re commented Mar 4, 2024

Variable $value is undefined in cache redis.

Maybe you still need to check it like this

if  (! isset($data['__ci_type'], $data['__ci_value']) || ($data['__ci_value'] === FALSE && $this->_redis->sIsMember('_ci_redis_serialized', $key))  )
{
            return null;
}

Variable $value is undefined in cache redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant