summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-06-12 11:50:38 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-06-12 11:50:38 +0000
commit3b35b435763e1a40e77c08b63f2f18c2b94e9ef4 (patch)
tree48df95cb98be59f1292518ef94aaca67ed8d39d7 /modules/node/node.module
parentbe7077be33deb67e8c59af2cb21f55f4191772d9 (diff)
downloadbrdo-3b35b435763e1a40e77c08b63f2f18c2b94e9ef4.tar.gz
brdo-3b35b435763e1a40e77c08b63f2f18c2b94e9ef4.tar.bz2
- changed $this->timestamp = $node[attributes]; to
$this->attributes = $node[attributes]; Makes more sense this way :-)
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 6e60289d7..e958502ab 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -5,7 +5,7 @@ class Node {
global $user;
$this->userid = $node[userid] ? $node[userid] : $user->userid;
$this->title = $node[title];
- $this->timestamp = $node[attributes];
+ $this->attributes = $node[attributes];
$this->timestamp = $node[timestamp] ? $node[timestamp] : time();
}
}