diff options
author | mkanat%bugzilla.org <> | 2009-01-23 04:27:45 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-01-23 04:27:45 +0100 |
commit | aff82a963b8ef1561b346eea5627ee189ce405f8 (patch) | |
tree | 1a55ea83a259534dbcb9860cd3751fa8e8e4416c /Bugzilla/Object.pm | |
parent | db7cfa425147c7dc174050f8cca5870a2696e66b (diff) | |
download | bugzilla-aff82a963b8ef1561b346eea5627ee189ce405f8.tar.gz bugzilla-aff82a963b8ef1561b346eea5627ee189ce405f8.tar.xz |
Fix some nits that I forgot to fix on checkin for bug 474715.
Diffstat (limited to 'Bugzilla/Object.pm')
-rw-r--r-- | Bugzilla/Object.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Object.pm b/Bugzilla/Object.pm index 75e04f2e7..adc96fa50 100644 --- a/Bugzilla/Object.pm +++ b/Bugzilla/Object.pm @@ -168,7 +168,6 @@ sub match { next; } elsif ( $field eq 'WHERE' ) { - next unless $value; # the WHERE value is a hashref where the keys are # "column_name operator ?" and values are the placeholder's # value. @@ -662,7 +661,7 @@ clauses to the underlying query. Its value is expected to a hash reference whose keys are the columns, operators and placeholders, and the values are the placeholders' bind value. For example: - WHERE => {'some_column >= ?' => $some_value } + WHERE => { 'some_column >= ?' => $some_value } would constrain the query to only those objects in the table whose 'some_column' column has a value greater than or equal to $some_value. |