[geeklog-cvs] geeklog: Don't display a user profile for the Anonymous user, ui...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Aug 28 11:09:00 EDT 2011
changeset 8387:1d5b0f1063a0
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/1d5b0f1063a0
user: Dirk Haun <dirk at haun-online.de>
date: Mon Aug 08 20:39:43 2011 +0200
description:
Don't display a user profile for the Anonymous user, uid 1 (bug #0001372)
diffstat:
public_html/users.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r cd0bba35b9cc -r 1d5b0f1063a0 public_html/users.php
--- a/public_html/users.php Sun Aug 07 11:17:30 2011 +0200
+++ b/public_html/users.php Mon Aug 08 20:39:43 2011 +0200
@@ -638,7 +638,7 @@
case 'profile':
$uid = COM_applyFilter ($_GET['uid'], true);
- if (is_numeric ($uid) && ($uid > 0)) {
+ if (is_numeric ($uid) && ($uid > 1)) {
$msg = 0;
if (isset($_GET['msg'])) {
$msg = COM_applyFilter($_GET['msg'], true);
More information about the geeklog-cvs
mailing list