From: Ivan Kohler Date: Wed, 25 Feb 2015 02:43:55 +0000 (-0800) Subject: noting false laziness X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=a3c8a7c5be8650f5854a1d89f1b76d21d5cfb1a1 noting false laziness --- diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 92fb89665..35ed6f7a8 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -489,6 +489,8 @@ sub qsearch { $sth->finish; + #below was refactored out to _from_hashref, this should use it at some point + my @return; if ( eval 'scalar(@FS::'. $table. '::ISA);' ) { if ( eval 'FS::'. $table. '->can(\'new\')' eq \&new ) {