aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-06-05 22:45:39 +0200
committerAngelo Naselli <anaselli@linux.it>2014-06-05 22:45:39 +0200
commit2faf8529f306490b6cdc3b6a10f3e10c29fab154 (patch)
tree5c76bfb03f4004e3ee2116a6e31c2f8c45b262ce /lib
parent43e37a686e812353bf8bf9f0ff90ffb1e2e37758 (diff)
downloadcolin-keep-2faf8529f306490b6cdc3b6a10f3e10c29fab154.tar
colin-keep-2faf8529f306490b6cdc3b6a10f3e10c29fab154.tar.gz
colin-keep-2faf8529f306490b6cdc3b6a10f3e10c29fab154.tar.bz2
colin-keep-2faf8529f306490b6cdc3b6a10f3e10c29fab154.tar.xz
colin-keep-2faf8529f306490b6cdc3b6a10f3e10c29fab154.zip
Cleaned up
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/Category.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/AdminPanel/Category.pm b/lib/AdminPanel/Category.pm
index 2e72c28..825e6cd 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;