diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-11 17:46:06 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-10-11 17:46:06 +0000 |
commit | 2df2b8795e421facd63840e9b62466f921003c8b (patch) | |
tree | ff06027dd16f8f0867e2985920b56c2dfd34389d | |
parent | 6e268e145f7b871a93b59264a7aeeaf947d712be (diff) |
Remove extraneous test
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1745 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/Form.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index e46d2022..baacb1ab 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -1358,7 +1358,7 @@ sub datetonum { my ( $self, $myconfig, $date, $picture ) = @_; if ( $date && $date =~ /\D/ ) { - if ( $date && $date =~ /^\d{4}-\d\d-\d\d$/ ) { + if ( $date =~ /^\d{4}-\d\d-\d\d$/ ) { # SC: Handle standard form of YYYY-MM-DD ( $yy, $mm, $dd ) = split /\D/, $date; } elsif ( $myconfig->{dateformat} =~ /^yy/ ) { |