Add extra check so we don't error out on type
json_decode can return false if we have invalid data.
In that case just assume there was nothing cached
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
Please register or sign in to comment