diff options
| author | Angelo Naselli <anaselli@linux.it> | 2016-06-02 22:52:53 +0859 |
|---|---|---|
| committer | Angelo Naselli <anaselli@linux.it> | 2016-06-02 22:52:53 +0859 |
| commit | 0359a803bc90c03b6fad2be7fd50862778ec5140 (patch) | |
| tree | d357c513846ae704380b94b90822c0007d34aa51 /lib | |
| parent | 5595f5634cc32a758ae461d34200b4237fe5a703 (diff) | |
| download | manatools-0359a803bc90c03b6fad2be7fd50862778ec5140.tar manatools-0359a803bc90c03b6fad2be7fd50862778ec5140.tar.gz manatools-0359a803bc90c03b6fad2be7fd50862778ec5140.tar.bz2 manatools-0359a803bc90c03b6fad2be7fd50862778ec5140.tar.xz manatools-0359a803bc90c03b6fad2be7fd50862778ec5140.zip | |
Another workaround to avoid crash when categories are translated in mpan
and not in external configuration file
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ManaTools/MainDisplay.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ManaTools/MainDisplay.pm b/lib/ManaTools/MainDisplay.pm index d9f35aad..df0d9035 100644 --- a/lib/ManaTools/MainDisplay.pm +++ b/lib/ManaTools/MainDisplay.pm @@ -789,7 +789,7 @@ sub _loadCategories { if (!$tmpCat) { $tmpCat = new ManaTools::Category({ name => $title, - icon => $icon, + icon => $icon || "", }); } $self->_loadCategory($tmpCat); |
