root/devel/mod/profile/lib/function_display_name.php
| Revision 1301, 339 bytes (checked in by dramirez, 1 year ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | // TODO: remove all references to this that aren't a direct reference to the function |
| 4 | |
| 5 | if (empty($parameter)) { |
| 6 | global $profile_id; |
| 7 | $profile_id = (int) $profile_id; |
| 8 | $user_id = $profile_id; |
| 9 | } else { |
| 10 | $user_id = (int) $parameter; |
| 11 | } |
| 12 | |
| 13 | $run_result = user_name($user_id); |
| 14 | |
| 15 | ?> |
Note: See TracBrowser for help on using the browser.
