Paving the way for cck changed node_get_types() which broke the blog api settings page at admin >> site config >> blog api. Here is a fix.

Comments

Jaza’s picture

You can replace this:

$node_types = array();
foreach (node_get_types() as $type => $value) {
  $node_types[$type] = $value->name;
}

with this:

$node_types = node_get_types('names');

Please update the patch accordingly.

Zack Rosen’s picture

StatusFileSize
new939 bytes

Turns out there was a much simpler fix.

Zack Rosen’s picture

Thanks Jaza!

dries’s picture

Status: Needs review » Fixed

Holy smokes. Committed to CVS HEAD. Thanks Zack! :-)

Anonymous’s picture

Status: Fixed » Closed (fixed)