summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-09-24 18:46:07 +0000
committerDries Buytaert <dries@buytaert.net>2001-09-24 18:46:07 +0000
commita1222d6430f86ed83aa4d464f30fe2e9742a4d1d (patch)
treea426827765cd2078212b0729196392d09f1a17ba /modules/node/node.module
parentd264b4fc2bdd430e0b65ee55506f0f64b075edc4 (diff)
downloadbrdo-a1222d6430f86ed83aa4d464f30fe2e9742a4d1d.tar.gz
brdo-a1222d6430f86ed83aa4d464f30fe2e9742a4d1d.tar.bz2
- Fixed translation bugs (reported by Alexander Schwartz)
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 74160311d..428f3c4ba 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -3,6 +3,10 @@
class Node {
function Node($node) {
global $user;
+ $this->uid = $node[uid] ? $node[uid] : $user->uid;
+ $this->nid = $node[nid];
+ $this->type = $node[type];
+ $this->comment = $node[comment] ? $node[comment] :
$this->name = $node[name] ? $node[name] : $user->name;
$this->title = $node[title];
$this->attributes = $node[attributes];