Can display tags for node type - fix included

rcourtna - January 8, 2008 - 17:53
Project:Community Tags
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

line 601 of community_tags.module casts $arg1 to int.

    case 'type':
      $arg1 = (int)$arg1;
      $arg2 = NULL;

However, in this case we should expect a string, not an int. As a result, community tags for a node type can't be displayed. Deleting "$arg1=(int)$arg1;" fixes it.

#1

owahab - January 26, 2008 - 08:07
Status:active» fixed

Makes perfect sense. Committed.

#2

Anonymous (not verified) - February 9, 2008 - 08:12
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.