Download & Extend

Doesn't work with node types named _

Project:Submit Again
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The underscore in node type names gets replaced with a dash. From node_menu():

<?php
foreach (node_get_types('types', NULL, TRUE) as $type) {
   
$type_url_str = str_replace('_', '-', $type->type);
   
$items['node/add/'. $type_url_str] = array(
?>
AttachmentSize
submitagain.patch705 bytes

Comments

#1

Status:needs review» fixed

Committed in CVS revision 1.2.2.3.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here