array_keys error line 385
nrussell - October 28, 2009 - 18:37
| Project: | Location |
| Version: | 6.x-3.1-rc1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
When trying to hide certain location values on a specific content type, I was presented with an error explaining that array_keys expects parameter one to be an array. Properly checking the content of $item['location_settings']['display']['hide']; before passing it through array_filter and array_keys elements the problem. Attached is a quick patch file for checking its value.
| Attachment | Size |
|---|---|
| location_cck.patch | 708 bytes |
