summaryrefslogtreecommitdiff
path: root/program/steps/addressbook
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-23 18:23:44 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-23 18:23:44 +0200
commit6ae92aa169b449654b374cf6fb5be0d08ff61b8c (patch)
tree6402b7395e61a103604d97e6bcfe4fef6cbd2221 /program/steps/addressbook
parent1f19587f05c28c37a08063bcb122298d05b74fd6 (diff)
Fix displaying contact with ID divisible by 100 in sql addressbook (#1489121)
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r--program/steps/addressbook/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index 8faf76f78..d416cc14f 100644
--- a/program/steps/addressbook/func.inc
+++ b/program/steps/addressbook/func.inc
@@ -784,7 +784,7 @@ function rcmail_get_cids($filter = null)
}
}
else {
- if (substr($id, -($got_source+1)) == "-$source") {
+ if (substr($id, -($got_source+1)) === "-$source") {
$id = substr($id, 0, -($got_source+1));
}
$result[$source][] = $id;