This commit is contained in:
friendica
2014-11-11 20:44:43 -08:00
parent b5af667985
commit 4b9ec6645b
4 changed files with 55 additions and 40 deletions

View File

@@ -1493,8 +1493,12 @@ function network_tabs() {
function profile_tabs($a, $is_owner=False, $nickname=Null){
//echo "<pre>"; var_dump($a->user); killme();
// Don't provide any profile tabs if we're running as the sys channel
if($a->is_sys)
return;
$channel = $a->get_channel();
if (is_null($nickname))