From e3cbe5dd62d9438433b039d682bd8b8215cc1d69 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Thu, 23 May 2013 12:26:23 -0400 Subject: [PATCH] Fix displaying contact with ID divisible by 100 in sql addressbook (#1489121) --- 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 cd8182e..989b7c1 100644 --- a/program/steps/addressbook/func.inc +++ b/program/steps/addressbook/func.inc @@ -773,7 +773,7 @@ } } 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; -- Gitblit v1.9.1