mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
USERSESS double-booked - added USERPHOTO define
This commit is contained in:
@@ -7,7 +7,7 @@ if(is_numeric($parm))
|
||||
{
|
||||
if(intval($parm) == USERID)
|
||||
{
|
||||
$image = USERSESS;
|
||||
$image = USERPHOTO;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -21,7 +21,7 @@ elseif($parm)
|
||||
}
|
||||
else
|
||||
{
|
||||
$image = USERSESS;
|
||||
$image = USERPHOTO;
|
||||
}
|
||||
if($image && file_exists(e_FILE."public/avatars/".$image))
|
||||
{
|
||||
|
Reference in New Issue
Block a user