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).