\"View profile\" send to user profile page and not to tab.

This commit is contained in:
Fabio Comuni 2011-04-01 09:04:55 +02:00
parent b59c504b16
commit 454c4d0b70

View File

@ -2685,7 +2685,7 @@ function item_photo_menu($item){
$contact_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'] ;
if(strlen($item['author-link'])) {