From 29d83f0af0567bcb17da4ce9fe44b32f19405f68 Mon Sep 17 00:00:00 2001 From: cookie Date: Fri, 15 Dec 2006 22:52:56 +0000 Subject: user koennen eigene bilder hochladen git-svn-id: svn://svn.cccv.de/engel-system@211 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/ShowUserPicture.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www-ssl/inc/ShowUserPicture.php') diff --git a/www-ssl/inc/ShowUserPicture.php b/www-ssl/inc/ShowUserPicture.php index 218b2a24..f8185c3e 100644 --- a/www-ssl/inc/ShowUserPicture.php +++ b/www-ssl/inc/ShowUserPicture.php @@ -22,8 +22,9 @@ if( mysql_num_rows($res) == 1) header( "HTTP/1.0 403 Forbidden"); die( "403 Forbidden"); } + // ist das bild sichtbar? - if( mysql_result($res, 0, "show")=="N" ) + if( (mysql_result($res, 0, "show")=="N") AND ($_SESSION['UID']!=$_GET["UID"]) ) { $SQL= "SELECT * FROM `UserPicture` WHERE `UID`='-1'"; $res = mysql_query( $SQL, $con); -- cgit v1.2.3-54-g00ecf