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. --- modules/node.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index a2d6677e4..f14775446 100644 --- a/modules/node.module +++ b/modules/node.module @@ -627,12 +627,12 @@ function node_admin_nodes() { ** Handle operations: */ - if (empty($_SESSION["node-overview-filter"])) { - $_SESSION["node-overview-filter"] = 0; + if (empty($_SESSION["node_overview_filter"])) { + $_SESSION["node_overview_filter"] = 0; } if (isset($_POST["edit"]["filter"])) { - $_SESSION["node-overview-filter"] = $_POST["edit"]["filter"]; + $_SESSION["node_overview_filter"] = $_POST["edit"]["filter"]; } if (isset($_POST["edit"]["operation"])) { @@ -646,7 +646,7 @@ function node_admin_nodes() { $output = status(t("the update has been performed.")); } - $filter = $_SESSION["node-overview-filter"]; + $filter = $_SESSION["node_overview_filter"]; /* ** Render filter form: -- cgit v1.2.3