diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-23 18:23:44 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-23 18:26:23 +0200 |
commit | e3cbe5dd62d9438433b039d682bd8b8215cc1d69 (patch) | |
tree | 7f0bc65ec2fe6af871b000cf2e6a9c2b3b774df4 /program | |
parent | c79a7b734edf120794ca3bb249ec0ba7251c5dd4 (diff) |
Fix displaying contact with ID divisible by 100 in sql addressbook (#1489121)
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/addressbook/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc index cd8182eea..989b7c1c4 100644 --- a/program/steps/addressbook/func.inc +++ b/program/steps/addressbook/func.inc @@ -773,7 +773,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; |