In some cases the cache object is empty and it gives a warning.
So we need to do a !empty check.
I attached a patch for fix.
| Comment | File | Size | Author |
|---|---|---|---|
| fix_undefined_warning.patch | 656 bytes | cslevy |
In some cases the cache object is empty and it gives a warning.
So we need to do a !empty check.
I attached a patch for fix.
| Comment | File | Size | Author |
|---|---|---|---|
| fix_undefined_warning.patch | 656 bytes | cslevy |
Comments
Comment #2
dragan jancikin commentedThis patch work for me.
Project version is: 2.1-alpha1
Drupal: 8.9.20
Comment #4
anoopjohn commentedThanks for reporting the issue and for submitting the patch. I have committed the patch to the 2.x branch.
Comment #5
anoopjohn commented