From a1222d6430f86ed83aa4d464f30fe2e9742a4d1d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 24 Sep 2001 18:46:07 +0000 Subject: - Fixed translation bugs (reported by Alexander Schwartz) --- modules/node/node.module | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/node/node.module') 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]; -- cgit v1.2.3