summaryrefslogtreecommitdiff
path: root/modules/page.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-05-13 18:36:38 +0000
committerDries Buytaert <dries@buytaert.net>2003-05-13 18:36:38 +0000
commitc2d2fb73095a32394dd95e72421aec49fa2cd6f6 (patch)
tree5d2d92a31480405b8c10c3b85927049238528242 /modules/page.module
parent13ffd8956826fec3cd9978edf73ef67d9eb8d46e (diff)
downloadbrdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.gz
brdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.bz2
- 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.
Diffstat (limited to 'modules/page.module')
-rw-r--r--modules/page.module3
1 files changed, 2 insertions, 1 deletions
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);