On 05/11/13 07:38, Jan Steinman wrote:
But doing this: xxx {{#ifeq:"0 "|"{{#tag:sql2wikiInline|SELECT count(*) FROM s_product_harvest h INNER JOIN mw_user u ON h.who1 = u.user_id WHERE u.user_name = '{{{1}}}'|database=EcoReality}}"|no harvests|some harvests}} xxx
#tag generates an opaque placeholder, you can't compare it to things with #ifeq. It would work if your sql2wikiInline extension provided a proper parser function interface, instead of using #tag.
-- Tim Starling