summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-02-27 13:33:48 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-02-27 13:33:48 +0000
commit8d8b816ca54d890a69972e1cc7643acedee08a19 (patch)
tree510a3a892420e369c1bd084a2bb5eb84deac9871 /modules/node.module
parent50cd866c3ca0bf37d5691d217a183ee598619c6e (diff)
downloadbrdo-8d8b816ca54d890a69972e1cc7643acedee08a19.tar.gz
brdo-8d8b816ca54d890a69972e1cc7643acedee08a19.tar.bz2
#44129, patch by Zen
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node.module b/modules/node.module
index 14d7ac80b..e81eea65a 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -1349,6 +1349,7 @@ function node_revision_revert($nid, $revision) {
if ($node->vid) {
$node->revision = 1;
$node->log = t('Copy of the revision from %date.', array('%date' => theme('placeholder', format_date($node->revision_timestamp))));
+ $node->taxonomy = array_keys($node->taxonomy);
node_save($node);