Changeset:
3c327b64832b
https://sourceforge.net/p/mrbs/hg-code/ci/3c327b64832b160f0f5c10c0d89c384cd07e5ca1
Author:
Campbell Morrison <[email protected]>
Date:
Thu Feb 23 18:28:51 2017 +0000
Log message:
Fixed checking of return value of getUserName()
diffstat:
web/session/session_cookie.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 70379453a15f -r 3c327b64832b web/session/session_cookie.inc
--- a/web/session/session_cookie.inc Thu Feb 23 18:22:25 2017 +0000
+++ b/web/session/session_cookie.inc Thu Feb 23 18:28:51 2017 +0000
@@ -268,8 +268,8 @@
$target_url = $target_url . "?" . $QUERY_STRING;
}
- $user=getUserName();
- if ($user != "")
+ $user = getUserName();
+ if (isset($user))
{
// words 'you are xxxx' becomes a link to the
// report page with only entries created by xxx. Past entries are not
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits