Tracked down the bug to be in the feedapi_get_types() function as it was attempting to evaluate and unset the array by the array element value not the key. Here is the corrected function:
function feedapi_get_types() {
$names = node_get_types('names');
foreach ($names as $key => $type) {
if (!feedapi_enabled_type($key)) {
unset($names[$key]);
}
}
return $names;
}
Comments
Comment #1
aron novakThank you for doing this bug-hunting.
It's fixed in the -dev version, today I'll release a new version of FeedAPI, it will contain this change also.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.