And here is a patch to fix it.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | media_gallery_fix_notices.patch | 4.83 KB | JacobSingh |
| #1 | media_gallery_fix_notices.patch | 4.59 KB | JacobSingh |
| media_gallery_fix_notices.patch | 3.94 KB | JacobSingh |
And here is a patch to fix it.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | media_gallery_fix_notices.patch | 4.83 KB | JacobSingh |
| #1 | media_gallery_fix_notices.patch | 4.59 KB | JacobSingh |
| media_gallery_fix_notices.patch | 3.94 KB | JacobSingh |
Comments
Comment #1
JacobSingh commentedOkay, here's one more addition, not sure if returning an empty array is the right thing to do, but gags the error and seems harmless.
Comment #2
JacobSingh commentedComment #3
effulgentsia commentedHm. A little ugly. Could probably use some more investigation and clean-up, but makes sense to commit it, since it's harmless, and fixes the notices.
Comment #4
JacobSingh commentedthanks