diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-04-29 18:10:56 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-04-29 18:10:56 +0000 |
commit | f423f91d370e8a8a47641df5ba35b98f11bbf3ba (patch) | |
tree | 2d07868a10b7a8437de37c6fc3007168d1880081 /modules/user.module | |
parent | a676cde7b2b5e4a40f651cdfe3f1cf86d8a20140 (diff) | |
download | brdo-f423f91d370e8a8a47641df5ba35b98f11bbf3ba.tar.gz brdo-f423f91d370e8a8a47641df5ba35b98f11bbf3ba.tar.bz2 |
- fixed the son of session crash. Its amazing how vitally important it is to return
valid data is to PHP.. one mistake and things start to crash at random times.
Diffstat (limited to 'modules/user.module')
-rw-r--r-- | modules/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module index 877401d16..ae17df337 100644 --- a/modules/user.module +++ b/modules/user.module @@ -18,7 +18,7 @@ function sess_read($key) { global $user; $user = user_load(array("sid" => $key, "status" => 1)); - return $user->session ? $user->session : ''; + return $user->sid ? $user->sid : ''; } function sess_write($key, $value) { |