projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a3878
)
full backtrace
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 21 Aug 2014 07:29:13 +0000
(
00:29
-0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 21 Aug 2014 07:29:13 +0000
(
00:29
-0700)
FS/FS/option_Common.pm
patch
|
blob
|
history
diff --git
a/FS/FS/option_Common.pm
b/FS/FS/option_Common.pm
index
74adbed
..
8c69089
100644
(file)
--- a/
FS/FS/option_Common.pm
+++ b/
FS/FS/option_Common.pm
@@
-3,6
+3,7
@@
package FS::option_Common;
use strict;
use base qw( FS::Record );
use vars qw( $DEBUG );
+use Carp qw( cluck );
use Scalar::Util qw( blessed );
use FS::Record qw( qsearch qsearchs dbh );
@@
-344,7
+345,7
@@
sub option {
$pkey => $self->get($pkey),
$namecol => shift,
};
-
warn
"$self -> option: searching for ".
+
cluck
"$self -> option: searching for ".
join(' / ', map { "$_ => ". $hashref->{$_} } keys %$hashref )
if $DEBUG;
my $obj = qsearchs($option_table, $hashref);