errors in nodetitle plug-in (with patch)

abbasmousavi - April 6, 2009 - 04:43
Project:freelinking
Version:6.x-3.0-alpha1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Line 17 and 18 of freelink_nonetitle.inc contain errors that prevent the module from correct working

$sql .= 'AND type ="%s';
$result = db_query($sql, $target[1], variable_get('freelinking_nodetitle_searchcontenttype'));

it shoul be

$sql .= 'AND type ="%s"';
$result = db_query($sql, $target[1], variable_get('freelinking_nodetitle_searchcontenttype','none'));

#1

eafarris - April 22, 2009 - 13:58
Status:active» fixed

Committed to HEAD. Thanks for the catch.

#2

System Message - May 6, 2009 - 14:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.