1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-15 11:04:18 +02:00

PHP Notice removal and Forum Rank display preference added.

This commit is contained in:
Cameron
2016-05-16 11:44:38 -07:00
parent b8f7c5458d
commit 572a4bb8be
5 changed files with 41 additions and 30 deletions

View File

@@ -3534,7 +3534,7 @@ class e_parser
$img = $genericImg;
}
if(($img == $genericImg) && ($userData['user_id'] == USERID) && !empty($options['link']))
if(($img == $genericImg) && !empty($userData['user_id'] ) && (($userData['user_id'] == USERID)) && !empty($options['link']))
{
$linkStart = "<a class='e-tip' title=\"".LAN_EDIT."\" href='".e107::getUrl()->create('user/myprofile/edit')."'>";
$linkEnd = "</a>";