Permalink
Browse files

Fix typo

  • Loading branch information...
1 parent 3e37671 commit b5767d94b1c3fd29adffb225526162d69b37d05d @alecpl alecpl committed Jan 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 program/lib/Roundcube/rcube_addressbook.php
@@ -538,7 +538,7 @@ protected function compare_search_value($colname, $value, $search, $mode)
// The value is a date string, for date we'll
// use only strict comparison (mode = 1)
// @TODO: partial search, e.g. match only day and month
- if (in_array($colname, $this->date_fields)) {
+ if (in_array($colname, $this->date_cols)) {
return (($value = rcube_utils::strtotime($value))
&& ($search = rcube_utils::strtotime($search))
&& date('Ymd', $value) == date('Ymd', $search));

0 comments on commit b5767d9

Please sign in to comment.