?
avatar julienV
julienV
3 Aug 2015

Steps to reproduce the issue

use a module that uses the backend model with several categories

Expected result

there shouldn't be any notice

Actual result

there is a notice
Notice: Array to string conversion in /administrator/components/com_contact/models/contacts.php on line 134

System information (as much as possible)

joomla staging branch

Additional comments

it's just a samll inconsistency in backend models contact.
The filter category_id is expected to be a numeric or an array in getListQuery function, but the store id function assumes it's a string.
hence, setting the filter to an array triggers a warning:

Notice: Array to string conversion in /administrator/components/com_contact/models/contacts.php on line 134

avatar julienV julienV - open - 3 Aug 2015
avatar zero-24
zero-24 - comment - 3 Aug 2015

@julienV If you have code / a pull request you don't need to open a issue :smile: I will close here and copy the description to your pull request. Thanks :smile:

avatar zero-24 zero-24 - close - 3 Aug 2015
avatar zero-24 zero-24 - change - 3 Aug 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-08-03 19:18:33
Closed_By zero-24

Add a Comment

Login with GitHub to post a comment