From 72ae2d39953125a231592d2a2b7ad14afe35b1bd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 22 Oct 2003 20:20:35 +0000 Subject: - Bugfix: renamed the 'statistics' table to 'node_counter' as 'statistics' is a reserved SQL keyword. Required for both PostgreSQL and MSSQL. Patch by Adrian. - Bugfix: renamed the 'path' table to 'url_alias' as 'path' is a reserved SQL keyword. Required for both PostgreSQL and MSSQL. Patch by Adrian. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 48984ac52..8ebbc1c26 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -39,7 +39,7 @@ function drupal_get_path_map($action = "") { } if (!$cache) { - $result = db_query("SELECT * FROM {path}"); + $result = db_query("SELECT * FROM {url_alias}"); while ($data = db_fetch_object($result)) { $map[$data->dst] = $data->src; } -- cgit v1.2.3