aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-12-12 11:56:37 +0100
committerAngelo Naselli <anaselli@linux.it>2014-12-12 11:56:37 +0100
commit83596e9bbd26803ee35991390ed3788812e871b4 (patch)
tree03e5c3b6c6b3350b322fbfcc0997a0e06b2dc068 /lib
parentcc143f97f3e0a31f057feb90eefccca49aa8884b (diff)
downloadmanatools-83596e9bbd26803ee35991390ed3788812e871b4.tar
manatools-83596e9bbd26803ee35991390ed3788812e871b4.tar.gz
manatools-83596e9bbd26803ee35991390ed3788812e871b4.tar.bz2
manatools-83596e9bbd26803ee35991390ed3788812e871b4.tar.xz
manatools-83596e9bbd26803ee35991390ed3788812e871b4.zip
Managed another undefined value
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/Rpmdragora/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/gui.pm b/lib/AdminPanel/Rpmdragora/gui.pm
index 171b5e03..15683e50 100644
--- a/lib/AdminPanel/Rpmdragora/gui.pm
+++ b/lib/AdminPanel/Rpmdragora/gui.pm
@@ -199,7 +199,7 @@ sub get_main_text {
my ($medium, $fullname, $name, $summary, $is_update, $update_descr) = @_;
my $txt = get_string_from_keywords($medium, $fullname);
- my $notice = MDK::Common::Func::if_($txt, format_field($loc->N("Notice: ")) . $txt);
+ my $notice = format_field($loc->N("Notice: ")) . $txt if $txt;
ensure_utf8($notice);
my $hdr = "<h2>" . format_header(join(' - ', $name, $summary)) . "</h2>\n";