Closed (fixed)
Project:
autocategorise
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2009 at 13:20 UTC
Updated:
20 Jan 2009 at 13:30 UTC
On line 147 of the get_synonyms function the sql states "WHERE vid = %d AND s.name IS NOT NULL". The problem with this is that s.name are for synonyms, and not all terms have synonyms necessarily. The result of this is that terms without synonyms are omitted and content was not being properly tagged. This patch moves the check for null values out to the PHP where the array is being created, and thereby returns all terms even if the user hasn't added a synonym.
| Comment | File | Size | Author |
|---|---|---|---|
| auto_categorise.module.patch | 1.49 KB | PixelClever |
Comments
Comment #1
matslats commentedThis has been implemented slightly differently, see 1.3