diff options
Diffstat (limited to 'lib/JWebmail/Model/ReadMails/Role.pm')
-rw-r--r-- | lib/JWebmail/Model/ReadMails/Role.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/JWebmail/Model/ReadMails/Role.pm b/lib/JWebmail/Model/ReadMails/Role.pm index 466e3b0..593672c 100644 --- a/lib/JWebmail/Model/ReadMails/Role.pm +++ b/lib/JWebmail/Model/ReadMails/Role.pm @@ -9,7 +9,7 @@ package JWebmail::Model::ReadMails::Role::Shadow { use overload '""' => sub { '***' }; - sub new { shift; bless \(shift.'') } + sub new { my $cls = shift; bless \(shift.''), $cls } sub show_password { ${shift()} } |