projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caf9f99
)
quiet "Use of uninitialized value in string eq at /usr/local/share/perl/5.8.4/FS...
author
ivan
<ivan>
Thu, 12 Apr 2007 02:42:32 +0000
(
02:42
+0000)
committer
ivan
<ivan>
Thu, 12 Apr 2007 02:42:32 +0000
(
02:42
+0000)
FS/FS/svc_Common.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_Common.pm
b/FS/FS/svc_Common.pm
index
52226d2
..
fd3a46a
100644
(file)
--- a/
FS/FS/svc_Common.pm
+++ b/
FS/FS/svc_Common.pm
@@
-128,7
+128,7
@@
sub virtual_fields {
my %flags = map { $_->columnname, $_->columnflag } (
qsearch ('part_svc_column', { svcpart => $svcpart } )
);
- return grep { not ($flags{$_} eq 'X') } @vfields;
+ return grep { not (
defined($flags{$_}) &&
$flags{$_} eq 'X') } @vfields;
} else { # Case 3
return @vfields;
}