summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-01-07 15:28:39 +0100
committerAleksander Machniak <alec@alec.pl>2013-01-07 15:28:39 +0100
commitb5767d94b1c3fd29adffb225526162d69b37d05d (patch)
tree2f987d769408869573700cc711d6703183499b78
parent3e3767138e2ea62aea549917c13040849036fbf3 (diff)
Fix typo
-rw-r--r--program/lib/Roundcube/rcube_addressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_addressbook.php b/program/lib/Roundcube/rcube_addressbook.php
index 0411f586c..421062772 100644
--- a/program/lib/Roundcube/rcube_addressbook.php
+++ b/program/lib/Roundcube/rcube_addressbook.php
@@ -538,7 +538,7 @@ abstract class rcube_addressbook
// 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));