aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Rpmdragora/formatting.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AdminPanel/Rpmdragora/formatting.pm')
-rw-r--r--lib/AdminPanel/Rpmdragora/formatting.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/formatting.pm b/lib/AdminPanel/Rpmdragora/formatting.pm
index 751cf77..feeca73 100644
--- a/lib/AdminPanel/Rpmdragora/formatting.pm
+++ b/lib/AdminPanel/Rpmdragora/formatting.pm
@@ -30,6 +30,7 @@ use POSIX qw(strftime);
use AdminPanel::Shared::Locales;
use AdminPanel::rpmdragora;
use MDK::Common::Various; # included for internal_error subroutine
+use urpm::msg;
use Exporter;
@@ -86,7 +87,8 @@ sub rpm_description {
my ($description) = @_;
ensure_utf8($description);
- my ($t, $tmp);
+ my $t = "";
+ my $tmp = "";
foreach (split "\n", $description) {
s/^\s*//;
if (/^$/ || /^\s*(-|\*|\+|o)\s/) {