The problem is in file: /plugins/freelinking_nodetitle.inc
$sql = "SELECT title, nid, language FROM {node} WHERE title='%s'";
if ($type != 'none') {
$sql .= " AND type='%s'";
$result = db_query($sql, $title, $type);
}
$result = db_query($sql, $title);
This means that if you restrict to a content type then the query gets modified ($sql .= " AND type='%s'";) but the result is always overwritten. So all that is missing is an else
$sql = "SELECT title, nid, language FROM {node} WHERE title='%s'";
if ($type != 'none') {
$sql .= " AND type='%s'";
$result = db_query($sql, $title, $type);
} else {
$result = db_query($sql, $title);
}
Comments
Comment #1
gisleFixed in 6.x-3.4. Nothing of the code this patch apply to remain.