From c2d2fb73095a32394dd95e72421aec49fa2cd6f6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 May 2003 18:36:38 +0000 Subject: - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski. - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script. --- modules/page.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/page.module') diff --git a/modules/page.module b/modules/page.module index 178c7c4e8..87f70d744 100644 --- a/modules/page.module +++ b/modules/page.module @@ -89,7 +89,8 @@ function page_link($type) { } function page_body($node) { - global $op; + $op = $_POST["op"]; + if ($node->format == 0) { // HTML type $output = check_output($node->body); -- cgit v1.2.3