From: Ivan Kohler Date: Thu, 7 Apr 2016 02:21:38 +0000 (-0700) Subject: quiet warnings, RT#41682 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=864249a2b23248f86aa73dc355f470e7426b4de5 quiet warnings, RT#41682 --- 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') ) {