diff options
| author | ivan <ivan> | 2009-02-22 10:34:26 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2009-02-22 10:34:26 +0000 | 
| commit | eedf55aee4f0c0263b1924ee07a2182a1be46991 (patch) | |
| tree | 265777eac424968d643ed1c0cf1dd5d314891d40 /FS | |
| parent | 52b311cb03ee6714c2ea8d108efdfef86c2c3e1d (diff) | |
this would seem to be right, but...?
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/cust_pkg.pm | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index c67116373..dd6db1be9 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -2424,6 +2424,8 @@ sub _location_sql_where {    my $prefix = @_ ? shift : '';    my $ornull = @_ ? shift : ''; +#  $ornull             = $ornull          ? " OR ( ? IS NULL AND $table.${prefix}county IS NULL ) " : ''; +    $ornull = $ornull ? ' OR ? IS NULL ' : '';    my $or_empty_county = " OR ( ? = '' AND $table.${prefix}county IS NULL ) "; | 
