@@ -343,7 +343,7 @@ discard block |
||
| 343 | 343 | $name = substr($name, 0, $name_limit)."..."; |
| 344 | 344 | } |
| 345 | 345 | $x .= " <a href=\"".url_base()."show_user.php?userid=".$user->id."\">".$name."</a>"; |
| 346 | - if (function_exists("project_user_links")){ |
|
| 346 | + if (function_exists("project_user_links")) { |
|
| 347 | 347 | $x .= project_user_links($user); |
| 348 | 348 | } |
| 349 | 349 | if ($badge_height) { |
@@ -464,7 +464,7 @@ discard block |
||
| 464 | 464 | // Returns a cacheable community links data object |
| 465 | 465 | // @param user The user to produce a community links object for |
| 466 | 466 | |
| 467 | -function get_community_links_object($user){ |
|
| 467 | +function get_community_links_object($user) { |
|
| 468 | 468 | $cache_object = new StdClass; |
| 469 | 469 | $cache_object->post_count = total_posts($user); |
| 470 | 470 | $cache_object->user = $user; |
@@ -480,7 +480,7 @@ discard block |
||
| 480 | 480 | return $cache_object; |
| 481 | 481 | } |
| 482 | 482 | |
| 483 | -function community_links($clo, $logged_in_user){ |
|
| 483 | +function community_links($clo, $logged_in_user) { |
|
| 484 | 484 | $user = $clo->user; |
| 485 | 485 | $team = $clo->team; |
| 486 | 486 | $friends = $clo->friends; |