Commit 3b35b435 authored by Kjartan's avatar Kjartan

- changed $this->timestamp = $node[attributes]; to

                 $this->attributes = $node[attributes];
  Makes more sense this way :-)
parent be7077be
......@@ -5,7 +5,7 @@ function Node($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();
}
}
......
......@@ -5,7 +5,7 @@ function Node($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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment