Active
Project:
Legal
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
1 Mar 2012 at 23:17 UTC
Updated:
21 Aug 2018 at 03:32 UTC
The title states what needs to happen. The reason is the returned array needs to contain all of the possible elements so that other items in the code doesn't need to check if the element is set in the array before using it. Issue created without patch to document the issue. If/when I get the time to pull the repository I can create the patch but it is a simple
else {
$accept[$key] = NULL;
}
in the foreach loop in the function.
Comments
Comment #1
marcoka commentedthese notices could be related.
Notice: Array to string conversion in DatabaseStatementBase->execute() (Zeile 2139 von /var/www/test/includes/database/database.inc).