From 864249a2b23248f86aa73dc355f470e7426b4de5 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 6 Apr 2016 19:21:38 -0700 Subject: [PATCH] quiet warnings, RT#41682 --- FS/FS/Mason.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index 651cc95a4..9174ec375 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -462,7 +462,7 @@ if ( -e $addl_handler_use_file ) { use vars qw($m); # false laziness w/below - if ( defined(@DBIx::Profile::ISA) ) { + if ( @DBIx::Profile::ISA ) { if ( $FS::CurrentUser::CurrentUser->option('show_db_profile') ) { @@ -522,7 +522,7 @@ if ( -e $addl_handler_use_file ) { use vars qw($m); $m->clear_buffer; #false laziness w/above - if ( defined(@DBIx::Profile::ISA) ) { + if ( @DBIx::Profile::ISA ) { if ( $FS::CurrentUser::CurrentUser->option('show_db_profile') ) { -- 2.11.0