View Issue Details

IDProjectCategoryView StatusLast Update
0023694mantisbtplug-inspublic2017-12-05 01:18
ReporterRuzhelovich VladimirAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform2.8.0OSUbuntuOS Version16.04.3 LTS
Product Version2.8.0 
Target VersionFixed in Version 
Summary0023694: Wrong show the menu of plugins for EVENT MENU_ISSUE event. There are "[","]" characters in this menu.
Description

Wrong show the menu of plugins for EVENT MENU_ISSUE event. There are "[","]" characters in this menu.

Steps To Reproduce

//Add menu
public function add_creat_relationship_link($p_event,$array_bug_list) {
ob_start();
print_link_button( $this->t_url, plugin_lang_get( 'creat_relationship' ),"btn btn-primary btn-white btn-round btn-sm$
$link = ob_get_contents();
ob_end_clean();
return array($link);
}

TagsNo tags attached.

Activities

Ruzhelovich Vladimir

Ruzhelovich Vladimir

2017-12-04 05:51

reporter  

1.png (8,108 bytes)
1.png (8,108 bytes)
Ruzhelovich Vladimir

Ruzhelovich Vladimir

2017-12-04 05:56

reporter   ~0058305

Perhaps the problem is in this part ("bug_view_inc.php"):

foreach ( $t_links as $t_plugin => $t_hooks ) {
foreach( $t_hooks as $t_hook ) {
if( is_array( $t_hook ) ) {
foreach( $t_hook as $t_label => $t_href ) {
if( is_numeric( $t_label ) ) {
print_bracket_link_prepared( $t_href );
} else {
print_small_button( $t_href, $t_label );
}
}
} elseif( !empty( $t_hook ) ) {
print_bracket_link_prepared( $t_hook );
}
}
}

Ruzhelovich Vladimir

Ruzhelovich Vladimir

2017-12-05 01:18

reporter   ~0058314

For english:



1-2.png (13,668 bytes)
1-2.png (13,668 bytes)

Issue History

Date Modified Username Field Change
2017-12-04 05:47 Ruzhelovich Vladimir New Issue
2017-12-04 05:51 Ruzhelovich Vladimir File Added: 1.png
2017-12-04 05:56 Ruzhelovich Vladimir Note Added: 0058305
2017-12-05 01:18 Ruzhelovich Vladimir File Added: 1-2.png
2017-12-05 01:18 Ruzhelovich Vladimir Note Added: 0058314