summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-07-01 17:54:22 +0000
committerDries Buytaert <dries@buytaert.net>2003-07-01 17:54:22 +0000
commitdc15ba06e05df99885d0024b2fc9173291e79038 (patch)
treead14e1874ef5bb0bd109e1e9376d1da2107b0722 /modules/node
parent3bb6ddee4b2b3fa1b48dc557b3be7af2ea521ecb (diff)
downloadbrdo-dc15ba06e05df99885d0024b2fc9173291e79038.tar.gz
brdo-dc15ba06e05df99885d0024b2fc9173291e79038.tar.bz2
- Improvement: don't perform XSS checks for trusted users. Trusted users
are those that have the "bypass input data check" permission set. Should address bug #2147. - Improvement: simplified index.php and modules/admin.module. - Bugfix: fixed broken links in bloggerapi documentation. Patch by Chris Johnson. Fixes bug #2030. - Bugfix: fixed the date shown on a book module preview. Reported as part of bug #2097. - Bugfix: fixed broken URL in the book module documentation.
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 3d1bc04e9..de4dc46be 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1217,6 +1217,7 @@ function node_preview($node, $error = NULL) {
if (empty($node->created)) {
$node->created = time();
}
+ $node->changed = time();
/*
** Extract a teaser: