View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007925 | mantisbt | bugtracker | public | 2007-04-29 00:44 | 2007-05-08 03:42 |
Reporter | seiji | Assigned To | grangeway | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | PC | OS | Linux | OS Version | Gentoo Linux |
Product Version | 1.1.0a2 | ||||
Fixed in Version | 1.1.0a3 | ||||
Summary | 0007925: Access level is displayed twice in "login info" if realname is not set | ||||
Description | if realname is not set, access level (reporter, viewer ...) is dislayed twice as follows. "Logged in as: seiji (reporter) - reporter)" It should be "Logged in as: seiji (reporter)" (1.1.0a2 and 1.0.7) | ||||
Steps To Reproduce |
| ||||
Additional Information | See attached patch file(for CVS) | ||||
Tags | No tags attached. | ||||
Attached Files | html_api.patch (579 bytes)
--- core/html_api.php.org 2007-04-29 13:39:43.000000000 +0900 +++ core/html_api.php 2007-04-29 13:40:11.000000000 +0900 @@ -340,7 +340,7 @@ } } else { echo lang_get( 'logged_in_as' ), ": <span class=\"italic\">", string_display( $t_username ), "</span> <span class=\"small\">"; - echo is_blank( $t_realname ) ? "($t_access_level)" : "(", string_display( $t_realname ), " - $t_access_level)"; + echo is_blank( $t_realname ) ? "($t_access_level)" : "(". string_display( $t_realname ). " - $t_access_level)"; echo "</span>"; } PRINT '</td>'; | ||||