projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad1d603
)
Bug fix: removed unintended variable localization
author
Jonathan Prykop
<jonathan@freeside.biz>
Tue, 10 Feb 2015 20:06:29 +0000
(14:06 -0600)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Tue, 10 Feb 2015 20:06:29 +0000
(14:06 -0600)
FS/FS/reason.pm
patch
|
blob
|
history
diff --git
a/FS/FS/reason.pm
b/FS/FS/reason.pm
index
864804d
..
9c34dd9
100644
(file)
--- a/
FS/FS/reason.pm
+++ b/
FS/FS/reason.pm
@@
-174,7
+174,7
@@
sub new_or_existing {
}
} else {
my %hash = ('class' => $opt{'class'}, 'type' => $opt{'type'});
-
my
$reason_type = qsearchs('reason_type', \%hash)
+ $reason_type = qsearchs('reason_type', \%hash)
|| FS::reason_type->new(\%hash);
$error = $reason_type->insert unless $reason_type->typenum;