Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
cede322c
Commit
cede322c
authored
Oct 11, 2008
by
webchick
Browse files
#293612
by egfrith: user_authenticate() should work when is empty.
parent
65006002
Changes
1
Show whitespace changes
Inline
Side-by-side
includes/session.inc
View file @
cede322c
...
...
@@ -132,7 +132,7 @@ function _sess_write($key, $value) {
// the session table. This reduces memory and server load, and gives more useful
// statistics. We can't eliminate anonymous session table rows without breaking
// the "Who's Online" block.
if
(
!
drupal_save_session
()
||
(
empty
(
$_COOKIE
[
session_name
()])
&&
empty
(
$value
)))
{
if
(
!
drupal_save_session
()
||
(
$user
->
uid
==
0
&&
empty
(
$_COOKIE
[
session_name
()])
&&
empty
(
$value
)))
{
return
TRUE
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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