diff options
-rwxr-xr-x | control-center | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/control-center b/control-center index 5ce9cf9b..fc5a0727 100755 --- a/control-center +++ b/control-center @@ -1269,7 +1269,9 @@ my @menu_items = ( run_program::raw({ detach => 1 }, '/usr/bin/www-browser', "http://wiki.mandriva.com/en/Releases/Mandriva/$release->{version}/Errata"); }, undef, '<Item>', N("Help") ], - [ N("/_Help") . N("/_Report Bug"), undef, sub { run_program::raw({ detach => 1 }, 'drakbug', '--report', $pending_app || 'drakconf') }, undef, '<Item>' ], + [ N("/_Help") . N("/_Report Bug"), undef, sub { + run_program::raw({ detach => 1 }, 'drakbug', '--report', (split(/\s/, $pending_app))[0] || 'drakconf'); + }, undef, '<Item>' ], [ N("/_Help") . N("/_About..."), undef, \&about_mdk_cc, undef, '<Item>' ] ); |