Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
3b35b435
Commit
3b35b435
authored
Jun 12, 2001
by
Kjartan Mannes
Browse files
- changed $this->timestamp = $node[attributes]; to
$this->attributes = $node[attributes]; Makes more sense this way :-)
parent
be7077be
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/node.module
View file @
3b35b435
...
...
@@ -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
();
}
}
...
...
modules/node/node.module
View file @
3b35b435
...
...
@@ -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
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment