19 Apr
2005
19 Apr
'05
2:16 p.m.
Stefan Nagtegaal wrote:
Well, I'm not sure but I thought that db_query() was deprecated, because it does not respect the 'node access'-api.. IMHO you should change 'db_query()' into 'db_rewrite_sql()'.. Se the documentation here: http://drupaldocs.org/api/head/function/db_rewrite_sql
Nearly, but not quite ;) You should replace: db_query($sql) with: db_query(db_rewrite_sql($sql)); Or somesuch. P -- paul byrne <paul@leafish.co.uk> web monkey <http://www.leafish.co.uk/>