]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fix bug 1963: Web UI throws warnings during previously open login session after user...
authorBrion Vibber <brion@pobox.com>
Wed, 11 Nov 2009 18:38:11 +0000 (10:38 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 11 Nov 2009 18:38:11 +0000 (10:38 -0800)
commit7f8dbb8e457d1e5534ebb569988d84ee3adaeef7
tree90053ddd5489c6e2e46f29004f4e159d877c7867
parentf600fa3b1a3a4c81f6573d05dbcf286e2834a389
Fix bug 1963: Web UI throws warnings during previously open login session after user account is deleted

common_logged_in() returned bogus results because it checks against null specifically, but common_current_user() was sticking 'false' into $_cur because that's what User::staticGet() returned from a failed lookup. Now we skip over a failed lookup here, so we keep null and all is well.
lib/util.php