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.

CommentFileSizeAuthor
auto_categorise.module.patch1.49 KBPixelClever

Comments

matslats’s picture

Status: Needs review » Closed (fixed)

This has been implemented slightly differently, see 1.3