Content type user list link title uses full object instead of type name

mcarbone - July 10, 2007 - 20:10
Project:User List
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

If content types have been configured as a user list, the link to the content type user list uses the full object ($name) instead of the node type name ($name->name) as the title of the link. The patch fixes that small error.

AttachmentSize
user_list_content_type_name.patch689 bytes

#1

mcarbone - July 10, 2007 - 20:15

Oops, I patched it in the wrong order. Second try.

AttachmentSize
user_list_content_type_name_0.patch689 bytes

#2

John Morahan - August 27, 2007 - 11:55
Status:patch (code needs review)» patch (reviewed & tested by the community)

Looks good to me, tested and works (fixes an error "warning: htmlspecialchars() expects parameter 1 to be string, object given in /.../includes/bootstrap.inc on line 631." which was appearing on the /userlist page)

#3

deekayen - May 6, 2008 - 15:19
Status:patch (reviewed & tested by the community)» fixed

committed to CVS

#4

Anonymous (not verified) - May 20, 2008 - 15:22
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.