Closed (fixed)
Project:
Community Tags
Version:
6.x-1.0-beta1
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
2 Apr 2009 at 14:14 UTC
Updated:
16 Apr 2009 at 14:20 UTC
A bug show up when i make the module working. 'Unsupported operand types in common.inc'. I followed http://drupal.org/node/362799 and fixed this bug. It is caused by misused funtion url() in community_tags.pages.inc at line 46. The second parameters should be a array in drupal 6. However, in community_tags.pages.inc, it is used in the drupal 5's way.
This is my correction:
line 40 -48 changs to :
if (!$access) {
$destination = drupal_get_destination();
$option = array();
$option['query'] = $destination;
$form['login'] = array(
'#type' => 'markup',
'#value' => '
',
);
}
Comments