From a1a556b8c1904e624650059e7091f6864119cf65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sun, 1 Jul 2007 21:39:07 +0000 Subject: #155282 by Jose A Reyero: apply db_rewrite_sql() to the block listing query to allow for multilingual blocks --- includes/database.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/database.inc b/includes/database.inc index 593a4f329..b4bda22b4 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -194,7 +194,9 @@ define('DB_QUERY_REGEXP', '/(%d|%s|%%|%f|%b)/'); * @param $query * Query to be rewritten. * @param $primary_table - * Name or alias of the table which has the primary key field for this query. Possible values are: comments, forum, node, menu, term_data, vocabulary. + * Name or alias of the table which has the primary key field for this query. + * Possible values are: blocks, comments, forum, node, menu, term_data, + * vocabulary. * @param $primary_field * Name of the primary field. * @param $args -- cgit v1.2.3