summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-06-22 20:19:58 +0000
committerDries Buytaert <dries@buytaert.net>2005-06-22 20:19:58 +0000
commit5c8843704c2b953d5fb790ca084c700ea685d252 (patch)
tree40b77faa12c9676695cd57bbd18c628d3db5bcce /modules/node.module
parentf3a9a99570b1e9d7a929ee4a2f6495b6b26335d2 (diff)
downloadbrdo-5c8843704c2b953d5fb790ca084c700ea685d252.tar.gz
brdo-5c8843704c2b953d5fb790ca084c700ea685d252.tar.bz2
- Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
up the documentation a little. chx: can you double-check whether the global $conf variable is secure? (That is, make sure it can't be send using the URL or something.)
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node.module b/modules/node.module
index 5f22252d6..54a6285e7 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -1470,7 +1470,7 @@ function node_preview($node) {
// Display a preview of the node:
// Previewing alters $node so it needs to be cloned.
- $output = theme('node_preview', clone($node));
+ $output = theme('node_preview', drupal_clone($node));
$output .= node_form($node);