\"View profile\" send to user profile page and not to tab.
This commit is contained in:
parent
b59c504b16
commit
454c4d0b70
2
boot.php
2
boot.php
|
@ -2685,7 +2685,7 @@ function item_photo_menu($item){
|
||||||
$contact_url="";
|
$contact_url="";
|
||||||
$pm_url="";
|
$pm_url="";
|
||||||
|
|
||||||
$profile_link = ((strlen($item['author-link'])) ? $item['author-link']."?tab=profile" : $item['url']);
|
$profile_link = ((strlen($item['author-link'])) ? $item['author-link'] : $item['url']);
|
||||||
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
|
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
|
||||||
|
|
||||||
if(strlen($item['author-link'])) {
|
if(strlen($item['author-link'])) {
|
||||||
|
|
Loading…
Reference in a new issue