Reviewed & tested by the community
Project:
jQuery Media
Version:
6.x-1.4-beta1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2009 at 17:56 UTC
Updated:
27 Mar 2012 at 08:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
roderikTrue. (Independently traced & fixed, then found this bug report.)
variable_get('jquery_media_node_types', array()) is
... and comparing a string value 'non-strict' against an array which contains int(0), seems to always return TRUE, because (int)$node->type is 0 as well => match.
See http://www.php.net/manual/en/function.in-array.php#102681
Comment #2
roderikIt of course helps if I provide, like, a correct patch.
Pesky brackets...
Comment #3
edgarpe commentedPatch #2 works for me too.