Closed (won't fix)
Project:
Drupal core
Version:
7.8
Component:
language system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2011 at 11:15 UTC
Updated:
28 Jan 2016 at 09:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
MaxWesten commentedPatch attached
Comment #2
13rac1 commentedIf a module is passing incorrect data, the module should be fixed. I don't think this is a core problem.
Comment #3
MaxWesten commentedI agree that the problem lies in incorrect passing of parameters.
But core api functions should check the input types if it would generate fatals or warnings if not correctly used imo.
Comment #4
marcingy commentedThe issue is with contrib, the contrib module needs to be indentified and fixed. Core does not baby sit broken code.
Comment #5
nikunjkotechaadding patch to make it more useful and return array or the object as is instead of ''