diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-12-17 20:51:08 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-12-17 20:51:08 +0000 |
commit | d19b9a9c851887d49a3352c42c43b7a04010a580 (patch) | |
tree | 35df50e8fd489ca0eb205412b0be966dc967d113 /www-ssl/inc | |
parent | 29d83f0af0567bcb17da4ce9fe44b32f19405f68 (diff) |
freigabe der Pictures
git-svn-id: svn://svn.cccv.de/engel-system@212 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/inc')
-rw-r--r-- | www-ssl/inc/ShowUserPicture.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www-ssl/inc/ShowUserPicture.php b/www-ssl/inc/ShowUserPicture.php index f8185c3e..adad49cb 100644 --- a/www-ssl/inc/ShowUserPicture.php +++ b/www-ssl/inc/ShowUserPicture.php @@ -24,7 +24,9 @@ if( mysql_num_rows($res) == 1) } // ist das bild sichtbar? - if( (mysql_result($res, 0, "show")=="N") AND ($_SESSION['UID']!=$_GET["UID"]) ) + if( (mysql_result($res, 0, "show")=="N") AND + ($_SESSION['UID']!=$_GET["UID"]) AND + ($_SESSION['CVS'][ "admin/UserPicture.php" ] == "N")) { $SQL= "SELECT * FROM `UserPicture` WHERE `UID`='-1'"; $res = mysql_query( $SQL, $con); |