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
4d731dd3
Commit
4d731dd3
authored
Mar 25, 2007
by
Dries Buytaert
Browse files
- Patch
#111697
by wesley: properly initialized user->time to prevent warnings/errors.
parent
e187c8d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
4d731dd3
...
...
@@ -742,6 +742,7 @@ function drupal_anonymous_user($session = '') {
$user
->
roles
=
array
();
$user
->
roles
[
DRUPAL_ANONYMOUS_RID
]
=
'anonymous user'
;
$user
->
session
=
$session
;
$user
->
cache
=
0
;
return
$user
;
}
...
...
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