projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c48eed
)
auto-conversion of answerdate too
author
ivan
<ivan>
Wed, 20 Oct 2010 22:45:18 +0000
(22:45 +0000)
committer
ivan
<ivan>
Wed, 20 Oct 2010 22:45:18 +0000
(22:45 +0000)
FS/FS/cdr.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cdr.pm
b/FS/FS/cdr.pm
index
002e2d2
..
8f6a43c
100644
(file)
--- a/
FS/FS/cdr.pm
+++ b/
FS/FS/cdr.pm
@@
-285,7
+285,7
@@
sub check {
# ;
# return $error if $error;
- for my $f ( grep { $self->$_ =~ /
[a-z ]/i } qw( startdate enddate ) )
{
+ for my $f ( grep { $self->$_ =~ /
\D/ } qw(startdate answerdate enddate))
{
$self->$f( str2time($self->$f) );
}