diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-06-05 22:45:39 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-06-05 22:45:39 +0200 |
commit | 2faf8529f306490b6cdc3b6a10f3e10c29fab154 (patch) | |
tree | 5c76bfb03f4004e3ee2116a6e31c2f8c45b262ce | |
parent | 43e37a686e812353bf8bf9f0ff90ffb1e2e37758 (diff) | |
download | manatools-2faf8529f306490b6cdc3b6a10f3e10c29fab154.tar manatools-2faf8529f306490b6cdc3b6a10f3e10c29fab154.tar.gz manatools-2faf8529f306490b6cdc3b6a10f3e10c29fab154.tar.bz2 manatools-2faf8529f306490b6cdc3b6a10f3e10c29fab154.tar.xz manatools-2faf8529f306490b6cdc3b6a10f3e10c29fab154.zip |
Cleaned up
-rw-r--r-- | lib/AdminPanel/Category.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/AdminPanel/Category.pm b/lib/AdminPanel/Category.pm index 2e72c28a..825e6cd0 100644 --- a/lib/AdminPanel/Category.pm +++ b/lib/AdminPanel/Category.pm @@ -120,8 +120,11 @@ sub loadModule { #============================================================= sub moduleLoaded { my $self = shift; - my (%params) = @_; my ($module_name) = @_; + my %params = (); + if ($module_name eq '-CLASS') { + (%params) = @_; + } my $present = 0; |